-
Notifications
You must be signed in to change notification settings - Fork 6
/
records-sop.cabal
58 lines (55 loc) · 1.47 KB
/
records-sop.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
58
name: records-sop
version: 0.1.1.1
author: Andres Löh <[email protected]>
maintainer: [email protected]
license: BSD3
license-file: LICENSE
cabal-version: >= 1.10
build-type: Simple
tested-with: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2, GHC == 9.2.8, GHC == 9.4.5, GHC == 9.6.2
category: Generics
synopsis: Record subtyping and record utilities with generics-sop
description:
This library provides utilities for working with labelled
single-constructor record types via generics-sop.
.
It also provides functions to safely cast between record
types if the target type has a subset of the fields (with
the same names) of the source type.
extra-source-files: CHANGELOG.md
source-repository head
type: git
location: https://github.com/kosmikus/records-sop
library
hs-source-dirs:
src
ghc-options:
-Wall
exposed-modules:
Generics.SOP.Record,
Generics.SOP.Record.SubTyping
build-depends:
base >= 4.9 && < 5.0,
deepseq >= 1.3 && < 1.5,
generics-sop >= 0.3 && < 0.6,
ghc-prim >= 0.5 && < 0.11
default-language:
Haskell2010
test-suite examples
type:
exitcode-stdio-1.0
hs-source-dirs:
tests
ghc-options:
-Wall
main-is:
Examples.hs
build-depends:
base >= 4.9 && < 5.0,
deepseq >= 1.4 && < 1.5,
hspec >= 2.2 && < 2.11,
generics-sop >= 0.3 && < 0.6,
records-sop,
should-not-typecheck >= 2.1 && < 2.2
default-language:
Haskell2010