packages feed

newtype-generics 0.4 → 0.4.0.1

raw patch · 2 files changed

+7/−10 lines, 2 filesdep ~basedep ~hspec

Dependency ranges changed: base, hspec

Files

Control/Newtype.hs view
@@ -22,7 +22,6 @@ /any/ newtype and you should definitely define your own 'Newtype' instances for the power of this library. For example, see @ala Cont traverse@, with the proper 'Newtype' instance for Cont.- You can easily define new instances for your newtypes with the help of GHC.Generics   > {—# LANGUAGE DeriveGeneric #—}@@ -51,6 +50,7 @@ import Control.Applicative import Control.Arrow import GHC.Generics+{-import Generics.Deriving-}  -- | Given a newtype @n@, we will always have the same unwrapped type @o@, -- meaning we can represent this with a fundep @n -> o@.
newtype-generics.cabal view
@@ -1,14 +1,13 @@ Name:                newtype-generics-Version:             0.4+Version:             0.4.0.1 Synopsis:            A typeclass and set of functions for working with newtypes, with generics support. Description:         Per Conor McBride, the Newtype typeclass represents the packing and unpacking of a newtype,                      and allows you to operatate under that newtype with functions such as ala.-                      Generics support was added in version 0.4, making this package a full replacement                      for the original newtype package, and a better alternative to newtype-th. License:             BSD3 License-file:        LICENSE-Author:              Darius Jahandarie, Conor McBride, João Cristovao+Author:              Darius Jahandarie, Conor McBride, João Cristovão Maintainer:          João Cristóvão <jmacristovao@gmail.com> -- Copyright:            Category:            Control@@ -18,9 +17,7 @@  Library   Exposed-modules:     Control.Newtype-  Build-depends:       base >= 3.0 && < 5-  -- Other-modules:       -  -- Build-tools:         +  Build-depends:       base >= 4.5 && < 4.8   Ghc-options: -Wall   default-language:   Haskell2010 @@ -32,9 +29,9 @@   type:               exitcode-stdio-1.0   main-is:            main.hs   hs-source-dirs:     test,.-  build-depends:      base              >= 4.5 && < 5-                    , hspec             >= 1.7.2 && < 1.9-                    , HUnit             >= 1.2.5.2 && < 1.3+  build-depends:      base   >= 4.5 && < 4.8+                    , hspec  >= 1.9 && < 1.10+                    , HUnit  >= 1.2.5.2 && < 1.3   default-language:   Haskell2010