-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathiso-deriving.cabal
executable file
·57 lines (48 loc) · 1.55 KB
/
iso-deriving.cabal
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
name: iso-deriving
version: 0.0.8
author: Hans Hoeglund
maintainer: Hans Hoeglund <[email protected]>
license: MIT
license-file: LICENSE
synopsis: Deriving via arbitrary isomorphisms.
category: Generics
tested-with: GHC
build-type: Simple
cabal-version: >= 1.10
description:
The GHC extension DerivingVia allow derivation through a specific morphism:
coerce. This library helps generalizing DerivingVia to arbitrary morphisms.
This is particularly useful for prototypes and specifications of instances.
extra-source-files: README.md
source-repository head
type: git
location: git://github.com/hanshoglund/iso-deriving.git
flag strict
manual: True
default: False
library
build-depends: base >= 4.12 && < 5,
mtl,
profunctors
exposed-modules: Iso.Deriving
hs-source-dirs: .
default-language: Haskell2010
ghc-options:
-Wall
-Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wno-unused-top-binds
-Wno-name-shadowing
if flag(strict)
ghc-options:
-Werror
test-suite "iso-deriving-tests"
build-depends: base,
mtl,
iso-deriving
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
default-language: Haskell2010