This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
row-types.cabal.3
137 lines (121 loc) · 2.95 KB
/
row-types.cabal.3
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
cabal-version: 3.0
Name: row-types
Version: 1.0.1.2
License: MIT
License-file: LICENSE
Author: Daniel Winograd-Cort, Matthew Farkas-Dyck
Maintainer: [email protected]
homepage: https://github.com/target/row-types
Build-Type: Simple
Tested-With: GHC == 8.6.5, GHC == 8.8.3, GHC == 8.10.7, GHC == 9.0.1
Category: Data, Data Structures
Synopsis: Open Records and Variants
Description:
This package uses closed type families and type literals to implement open
records and variants.
The core is based off of the <https://hackage.haskell.org/package/CTRex CTRex>
package, but it also includes polymorphic variants and a number of
additional functions. That said, it is not a proper superset of CTRex as it
specifically forbids records from having more than one element of the same
label.
extra-source-files:
examples/Examples.lhs
README.md
CHANGELOG.md
LICENSE
NOTICE
common common-settings
ghc-options: -Wall -Wno-name-shadowing -Wno-type-defaults -Wno-unticked-promoted-constructors
default-extensions:
AllowAmbiguousTypes,
ConstraintKinds,
DataKinds,
EmptyCase,
EmptyDataDecls,
FlexibleContexts,
FlexibleInstances,
GADTs,
InstanceSigs,
KindSignatures,
LambdaCase,
MultiParamTypeClasses,
OverloadedLabels,
PatternGuards,
PatternSynonyms,
PolyKinds,
RankNTypes,
ScopedTypeVariables,
TypeApplications,
TypeFamilies,
TypeOperators,
TupleSections,
ViewPatterns,
UndecidableInstances
library
import: common-settings
Build-Depends:
base >= 2 && < 6,
constraints,
deepseq >= 1.4,
generic-lens >= 1.0.0.0,
hashable >= 1.2,
profunctors >= 5.0,
text,
unordered-containers >= 0.2
Exposed-modules:
Data.Row,
Data.Row.Dictionaries,
Data.Row.Internal,
Data.Row.Records,
Data.Row.Variants,
Data.Row.Switch
hs-source-dirs:
src
library row-types-aeson
import: common-settings
visibility: public
Build-Depends:
aeson,
base >= 2 && < 6,
row-types,
text
Exposed-modules:
Data.Row.Aeson
hs-source-dirs:
src/aeson
library row-types-barbies
import: common-settings
visibility: public
Build-Depends:
barbies,
base >= 2 && < 6,
row-types,
text
Exposed-modules:
Data.Row.Barbies
hs-source-dirs:
src/barbies
benchmark perf
import: common-settings
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs:
benchmarks/perf
build-depends:
base >= 2 && < 6,
row-types,
deepseq >= 1.4,
criterion >= 1.1
test-suite test
import: common-settings
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: tests, examples
other-modules: Examples
build-depends:
base >= 2 && < 6,
generic-lens >= 1.1.0.0,
row-types
source-repository head
type: git
location: https://github.com/target/row-types/