]> Git — Sourcephile - haskell/treemap.git/blob - treemap.cabal
Eta-reduce Path type synonym.
[haskell/treemap.git] / treemap.cabal
1 author: Julien Moutinho <julm+haskell+treemap@autogeree.net>
2 -- bug-reports: http://bug.autogeree.net/haskell/treemap/
3 build-type: Simple
4 cabal-version: >= 1.8
5 category: Data Structures
6 -- data-dir: data
7 -- data-files:
8 description: A tree of Data.Map,
9 which is like a 'Map'
10 but whose key is now a 'NonEmpty' list of 'Map' keys (a 'Path')
11 enabling the possibility to gather mapped values
12 by 'Path' prefixes (inside a 'Node').
13 extra-source-files:
14 stack.yaml
15 extra-tmp-files:
16 -- homepage: http://pad.autogeree.net/informatique/haskell/treemap/
17 license: GPL-3
18 license-file: COPYING
19 maintainer: Julien Moutinho <julm+haskell+treemap@autogeree.net>
20 name: treemap
21 stability: experimental
22 synopsis: A tree of Data.Map.
23 tested-with: GHC==8.0.1
24 version: 1.20161212
25
26 source-repository head
27 location: git://git.autogeree.net/haskell/treemap
28 type: git
29
30 Flag dev
31 Default: False
32 Description: Turn on development settings.
33 Manual: True
34
35 Flag dump
36 Default: False
37 Description: Dump some intermediate files.
38 Manual: True
39
40 Flag prof
41 Default: False
42 Description: Turn on profiling settings.
43 Manual: True
44
45 Flag threaded
46 Default: False
47 Description: Enable threads.
48 Manual: True
49
50 Library
51 extensions: NoImplicitPrelude
52 ghc-options: -Wall -fno-warn-tabs
53 if flag(dev)
54 cpp-options: -DDEVELOPMENT
55 ghc-options:
56 if flag(dump)
57 ghc-options: -ddump-simpl -ddump-stg -ddump-to-file
58 if flag(prof)
59 cpp-options: -DPROFILING
60 ghc-options: -fprof-auto
61 -- default-language: Haskell2010
62 exposed-modules:
63 Data.TreeMap.Strict
64 Data.TreeMap.Strict.Zipper
65 build-depends:
66 base >= 4.6 && < 5
67 , containers >= 0.5 && < 0.6
68 , deepseq
69 , semigroups
70 , strict
71 , transformers >= 0.4 && < 0.6
72
73 Test-Suite treemap-test
74 type: exitcode-stdio-1.0
75 -- default-language: Haskell2010
76 extensions: NoImplicitPrelude
77 ghc-options: -Wall -fno-warn-tabs
78 -main-is Test
79 hs-source-dirs: Data/TreeMap
80 main-is: Test.hs
81 other-modules:
82 Strict.Test
83 if flag(threaded)
84 ghc-options: -threaded -rtsopts -with-rtsopts=-N
85 if flag(dev)
86 cpp-options: -DDEVELOPMENT
87 ghc-options:
88 if flag(prof)
89 cpp-options: -DPROFILING
90 ghc-options: -fprof-auto
91 build-depends:
92 base >= 4.6 && < 5
93 , containers >= 0.5 && < 0.6
94 , semigroups
95 , strict
96 , tasty >= 0.11
97 , tasty-hunit
98 , text
99 , transformers >= 0.4 && < 0.6
100 , treemap