@@ -1,3 +1,4 @@
1+cabal-version: 2.4
12name: typerep-map
23version: 0.3.2
34synopsis: Efficient implementation of a dependent map with types as keys
@@ -20,105 +21,97 @@ homepage: https://github.com/kowainik/typerep-map
2021bug-reports: https://github.com/kowainik/typerep-map/issues
2122license: MIT
2223license-file: LICENSE
23−author: Kowainik, Vladislav Zavialov
24−maintainer: xrom.xkov@gmail.com
24+author: Veronika Romashkina, Vladislav Zavialov, Dmitrii Kovanikov
25+maintainer: Kowainik <xrom.xkov@gmail.com>
2526copyright: 2017-2019 Kowainik
2627category: Data, Data Structures, Types
2728build-type: Simple
2829extra-doc-files: README.md
2930 , CHANGELOG.md
30−cabal-version: 2.0
3131tested-with: GHC == 8.2.2
3232 , GHC == 8.4.4
33− , GHC == 8.6.3
33+ , GHC == 8.6.5
3434
3535source-repository head
3636 type: git
3737 location: https://github.com/kowainik/typerep-map.git
3838
39+common common-options
40+ build-depends: base >= 4.10 && < 4.13
41+
42+ default-language: Haskell2010
43+ default-extensions: BangPatterns
44+ OverloadedStrings
45+ RecordWildCards
46+ ScopedTypeVariables
47+ TypeApplications
48+
3949library
50+ import: common-options
4051 hs-source-dirs: src
4152 exposed-modules: Data.TMap
4253 Data.TypeRepMap
4354 Data.TypeRepMap.Internal
44− ghc-options: -Wall
45− build-depends: base >= 4.10 && < 5
46− , containers >= 0.5.10.2 && < 0.7
55+
56+ build-depends: containers >= 0.5.10.2 && < 0.7
4757 , ghc-prim ^>= 0.5.1.1
4858 , primitive ^>= 0.6.4
4959 , deepseq ^>= 1.4
50− default-extensions: OverloadedStrings
51− RecordWildCards
52− ScopedTypeVariables
53− TypeApplications
54− default-language: Haskell2010
5560
5661library typerep-extra-impls
62+ import: common-options
5763 hs-source-dirs: typerep-extra-impls
5864 exposed-modules: Data.TypeRep.CMap
5965 Data.TypeRep.OptimalVector
6066 Data.TypeRep.Vector
61− ghc-options: -Wall
62− build-depends: base >= 4.10 && < 5
63− , containers >= 0.5.10.2 && < 0.7
67+
68+ build-depends: containers >= 0.5.10.2 && < 0.7
6469 , vector ^>= 0.12.0.1
6570 , deepseq ^>= 1.4
66− default-extensions: OverloadedStrings
67− RecordWildCards
68− ScopedTypeVariables
69− TypeApplications
70−
71− default-language: Haskell2010
7271
7372test-suite typerep-map-test
73+ import: common-options
7474 type: exitcode-stdio-1.0
7575 hs-source-dirs: test
76+
7677 main-is: Test.hs
7778 other-modules: Test.TypeRep.CMap
7879 , Test.TypeRep.CacheMap
7980 , Test.TypeRep.MapProperty
8081 , Test.TypeRep.Vector
8182 , Test.TypeRep.VectorOpt
82− build-depends: base >= 4.10 && < 5
83− , ghc-typelits-knownnat >= 0.4.2 && < 0.7
84− , hedgehog >= 0.5.3 && < 0.7
83+
84+ build-tool-depends: tasty-discover:tasty-discover
85+ build-depends: ghc-typelits-knownnat >= 0.4.2 && < 0.7
86+ , hedgehog ^>= 1.0
8587 , typerep-map
8688 , typerep-extra-impls
8789 , tasty >= 1.0.1.1 && < 1.3
8890 , tasty-discover >= 4.1.1 && < 4.3
89− , tasty-hedgehog >= 0.1.0.2 && < 0.3
91+ , tasty-hedgehog ^>= 1.0.0.0
9092 , tasty-hspec ^>= 1.1.5
91− , QuickCheck >= 2.11.3 && < 2.13
92− build-tool-depends: tasty-discover:tasty-discover
93− ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
94− default-extensions: ScopedTypeVariables
95− TypeApplications
9693
97− default-language: Haskell2010
94+ ghc-options: -threaded -rtsopts -with-rtsopts=-N
9895
9996benchmark typerep-map-benchmark
97+ import: common-options
10098 type: exitcode-stdio-1.0
101− default-language: Haskell2010
102− ghc-options: -Wall -O2 -threaded -rtsopts -with-rtsopts=-N -freduction-depth=0
10399 hs-source-dirs: benchmark
100+
104101 main-is: Main.hs
105102 other-modules: CMap
106103 , CacheMap
104+ , DMap
107105 , Spec
108106 , Vector
109107 , OptimalVector
110− build-depends: base >= 4.10 && < 5
111− , criterion >= 1.4.1.0 && < 1.6
108+
109+ build-depends: criterion >= 1.4.1.0 && < 1.6
112110 , deepseq ^>= 1.4.3.0
113111 , dependent-map >= 0.2.4.0 && < 0.5
114112 , dependent-sum ^>= 0.5
115113 , ghc-typelits-knownnat >= 0.4.2 && < 0.7
116114 , typerep-map
117115 , typerep-extra-impls
118− default-extensions: OverloadedStrings
119− RecordWildCards
120− ScopedTypeVariables
121− TypeApplications
122− BangPatterns
123− if impl(ghc >= 8.2.2)
124− other-modules: DMap
116+
117+ ghc-options: -O2 -threaded -rtsopts -with-rtsopts=-N -freduction-depth=0