forked from kcsongor/generic-lens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgeneric-lens.cabal
99 lines (76 loc) · 2.91 KB
/
generic-lens.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
name: generic-lens
version: 0.2.0.0
synopsis: Generic data-structure operations exposed as lenses.
description: This package uses the GHC 8 Generic representation to derive various operations on data structures with a lens interface, including structural subtype relationship between records and positional indexing into arbitrary product types.
homepage: https://github.com/kcsongor/generic-lens
license: BSD3
license-file: LICENSE
author: Csongor Kiss
maintainer: [email protected]
category: Generics, Records, Lens
build-type: Simple
-- Extra files to be distributed with the package, such as examples or a
-- README.
extra-source-files: ChangeLog.md
, examples/StarWars.hs
, examples/Examples.hs
, README.md
-- Constraint on the version of Cabal needed to build this package.
cabal-version: >= 1.10
library
exposed-modules: Data.Generics.Record
, Data.Generics.Product
, Data.Generics.Record.Subtype
, Data.Generics.Record.HasField
, Data.Generics.Product.HasFieldAt
, Data.Generics.Internal.Lens
, Data.Generics.Sum.HasConstructor
other-modules: Data.Generics.Record.Internal.Contains
other-extensions: AllowAmbiguousTypes
, DataKinds
, FlexibleInstances
, FunctionalDependencies
, PolyKinds
, Rank2Types
, ScopedTypeVariables
, TypeApplications
, TypeFamilies
, TypeOperators
, UndecidableInstances
-- Other library packages from which modules are imported.
build-depends: base >= 4.9 && <= 5.0
, profunctors >= 5.0 && <= 6.0
-- Directories containing source files.
hs-source-dirs: src
-- Base language which the package is written in.
default-language: Haskell2010
ghc-options: -Wall
source-repository head
type: git
location: https://github.com/kcsongor/generic-lens
test-suite generic-lens-test
type:
exitcode-stdio-1.0
hs-source-dirs:
test
main-is:
Spec.hs
build-depends: base >= 4.9 && <= 5.0
, QuickCheck
, hspec
, generic-lens
ghc-options:
-Wall
other-extensions: AllowAmbiguousTypes
, DataKinds
, FlexibleInstances
, FunctionalDependencies
, PolyKinds
, Rank2Types
, ScopedTypeVariables
, TypeApplications
, TypeFamilies
, TypeOperators
, UndecidableInstances
default-language:
Haskell2010