packages feed

newtype-generics-0.4.0.1: newtype-generics.cabal

Name:                newtype-generics
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 Cristovão
Maintainer:          João Cristóvão <jmacristovao@gmail.com>
-- Copyright:           
Category:            Control
Build-type:          Simple
-- Extra-source-files:  
Cabal-version:       >=1.10

Library
  Exposed-modules:     Control.Newtype
  Build-depends:       base >= 4.5 && < 4.8
  Ghc-options: -Wall
  default-language:   Haskell2010

source-repository head
  type: git
  location: https://github.com/jcristovao/newtype-generics

test-suite test
  type:               exitcode-stdio-1.0
  main-is:            main.hs
  hs-source-dirs:     test,.
  build-depends:      base   >= 4.5 && < 4.8
                    , hspec  >= 1.9 && < 1.10
                    , HUnit  >= 1.2.5.2 && < 1.3
  default-language:   Haskell2010