]> Git — Sourcephile - haskell/treemap.git/blob - treemap.cabal
Use Data.NonNull instead of Data.List.NonEmpty.
[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 -- PVP: +-+------- breaking API changes
25 -- | | +----- non-breaking API additions
26 -- | | | +--- code changes with no API change
27 version: 2.2.0.20170330
28
29 source-repository head
30 location: git://git.autogeree.net/haskell/treemap
31 type: git
32
33 Flag dev
34 Default: False
35 Description: Turn on development settings.
36 Manual: True
37
38 Flag dump
39 Default: False
40 Description: Dump some intermediate files.
41 Manual: True
42
43 Flag prof
44 Default: False
45 Description: Turn on profiling settings.
46 Manual: True
47
48 Flag threaded
49 Default: False
50 Description: Enable threads.
51 Manual: True
52
53 Library
54 extensions: NoImplicitPrelude
55 ghc-options: -Wall -fno-warn-tabs
56 if flag(dev)
57 cpp-options: -DDEVELOPMENT
58 ghc-options:
59 if flag(dump)
60 ghc-options: -ddump-simpl -ddump-stg -ddump-to-file
61 if flag(prof)
62 cpp-options: -DPROFILING
63 ghc-options: -fprof-auto
64 -- default-language: Haskell2010
65 exposed-modules:
66 Data.TreeMap.Strict
67 Data.TreeMap.Strict.Zipper
68 build-depends:
69 base >= 4.6 && < 5
70 , containers >= 0.5 && < 0.6
71 , deepseq
72 , mono-traversable
73 , semigroups
74 , strict
75 , transformers >= 0.4 && < 0.6
76
77 Test-Suite treemap-test
78 type: exitcode-stdio-1.0
79 -- default-language: Haskell2010
80 extensions: NoImplicitPrelude
81 ghc-options: -Wall -fno-warn-tabs
82 -main-is Test
83 hs-source-dirs: Data/TreeMap
84 main-is: Test.hs
85 other-modules:
86 Strict.Test
87 if flag(threaded)
88 ghc-options: -threaded -rtsopts -with-rtsopts=-N
89 if flag(dev)
90 cpp-options: -DDEVELOPMENT
91 ghc-options:
92 if flag(prof)
93 cpp-options: -DPROFILING
94 ghc-options: -fprof-auto
95 build-depends:
96 base >= 4.6 && < 5
97 , containers >= 0.5 && < 0.6
98 , mono-traversable
99 , semigroups
100 , strict
101 , tasty >= 0.11
102 , tasty-hunit
103 , text
104 , transformers >= 0.4 && < 0.6
105 , treemap