-
Notifications
You must be signed in to change notification settings - Fork 48
/
vinyl.cabal
129 lines (119 loc) · 4.18 KB
/
vinyl.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
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
name: vinyl
version: 0.14.3
synopsis: Extensible Records
-- description:
license: MIT
license-file: LICENSE
author: Jonathan Sterling
maintainer: [email protected]
-- copyright:
category: Records
stability: Experimental
build-type: Simple
cabal-version: >=1.10
extra-source-files: CHANGELOG.md
tested-with: GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.4, GHC == 9.0.1, GHC == 9.2.1, GHC == 9.4.2
description: Extensible records for Haskell with lenses.
source-repository head
type: git
location: https://github.com/VinylRecords/Vinyl/
library
exposed-modules: Data.Vinyl
, Data.Vinyl.ARec
, Data.Vinyl.ARec.Internal
, Data.Vinyl.ARec.Internal.SmallArray
, Data.Vinyl.Class.Method
, Data.Vinyl.Core
, Data.Vinyl.CoRec
, Data.Vinyl.Curry
, Data.Vinyl.FromTuple
, Data.Vinyl.Lens
, Data.Vinyl.Derived
, Data.Vinyl.TypeLevel
, Data.Vinyl.Functor
, Data.Vinyl.Notation
, Data.Vinyl.Recursive
, Data.Vinyl.SRec
, Data.Vinyl.Syntax
, Data.Vinyl.Tutorial.Overview
, Data.Vinyl.XRec
build-depends: base >= 4.11 && <= 5,
ghc-prim,
deepseq,
array
if impl (ghc < 8.6.0)
build-depends: constraints >= 0.6.1
default-language: Haskell2010
ghc-options: -Wall
other-extensions: TypeApplications
benchmark storable
type: exitcode-stdio-1.0
hs-source-dirs: benchmarks
main-is: StorableBench.hs
build-depends: base,
vector,
criterion,
vinyl,
mwc-random,
microlens,
linear,
primitive
ghc-options: -O2
-- -ddump-to-file -ddump-simpl -dsuppress-module-prefixes -dsuppress-uniques
default-language: Haskell2010
benchmark equality
type: exitcode-stdio-1.0
hs-source-dirs: benchmarks
main-is: EqualityBench.hs
build-depends: base, criterion, vinyl
ghc-options: -O2
default-language: Haskell2010
benchmark accessors
type: exitcode-stdio-1.0
hs-source-dirs: benchmarks
main-is: AccessorsBench.hs
build-depends: base, criterion, tagged, vinyl, microlens
other-modules: Bench.ARec
Bench.SRec
Bench.Rec
ghc-options: -O2
default-language: Haskell2010
benchmark asa
type: exitcode-stdio-1.0
hs-source-dirs: benchmarks
main-is: AsABench.hs
build-depends: base, criterion, vinyl
ghc-options: -O2
default-language: Haskell2010
-- TODO: Use cabal-docspec
-- test-suite doctests
-- type: exitcode-stdio-1.0
-- hs-source-dirs: tests
-- other-modules: Intro
-- main-is: doctests.hs
-- if impl (ghc < 9.0.1)
-- build-depends: base, lens, doctest >= 0.8, singletons >= 0.10 && < 3, vinyl
-- else
-- build-depends: base, lens, doctest >= 0.8, singletons-th >= 3 && < 3.1, vinyl
-- default-language: Haskell2010
test-suite aeson
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Aeson.hs
build-depends: base, hspec, aeson >= 1.4, text, mtl, vinyl,
vector, unordered-containers, lens, lens-aeson
default-language: Haskell2010
test-suite spec
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Spec.hs
other-modules: CoRecSpec
XRecSpec
Test.ARec
build-depends: base
, vinyl
, microlens
, hspec
, should-not-typecheck >= 2.0 && < 2.2
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010