File: newtype-generics.cabal

package info (click to toggle)
haskell-newtype-generics 0.6.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 100 kB
  • sloc: haskell: 299; makefile: 5
file content (58 lines) | stat: -rw-r--r-- 1,995 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Name:                newtype-generics
Version:             0.6.2
x-revision: 2
Synopsis:            A typeclass and set of functions for working with newtypes
Description:         Per Conor McBride, the Newtype typeclass represents the packing and unpacking of a newtype,
                     and allows you to operate 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 Cristóvão, Simon Jakobi
Maintainer:          Simon Jakobi <simon.jakobi@gmail.com>
Homepage:            http://github.com/sjakobi/newtype-generics
Category:            Control
Build-type:          Simple
Extra-source-files:  CHANGELOG.md
Cabal-version:       >=1.10
Tested-with:
  GHC==9.2.1,
  GHC==9.0.1,
  GHC==8.10.4,
  GHC==8.8.4,
  GHC==8.6.5,
  GHC==8.4.4,
  GHC==8.2.2,
  GHC==8.0.2

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

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

test-suite test
  type:               exitcode-stdio-1.0
  main-is:            main.hs
  hs-source-dirs:     test
  other-modules:      Control.NewtypeSpec
  build-depends:      base
                    , newtype-generics
                    , hspec             >= 2.1
  default-language:   Haskell2010
  build-tool-depends: hspec-discover:hspec-discover >= 2.1

benchmark bench
  type:               exitcode-stdio-1.0
  main-is:            main.hs
  hs-source-dirs:     bench
  build-depends:      base >= 4.7
                    , gauge
                    , newtype-generics
                    , semigroups
  ghc-options:        -O2
  default-language:   Haskell2010