3synopsis: Efficient implementation of a dependent map with types as keys
5 A dependent map from type representations to values of these types.
7 Here is an illustration of such a map:
15 In addition to @TMap@, we provide @TypeRepMap@ parametrized by a
16 @vinyl@-style interpretation. This data structure is equivalent to @DMap
17 TypeRep@, but with significantly more efficient lookups.
19homepage: https://github.com/kowainik/typerep-map
20bug-reports: https://github.com/kowainik/typerep-map/issues
23author: Kowainik, Vladislav Zavialov
24maintainer: xrom.xkov@gmail.com
25copyright: 2017-2018 Kowainik
26category: Data, Data Structures, Types
28extra-doc-files: README.md
31tested-with: GHC == 8.2.2
36 location: https://github.com/kowainik/typerep-map.git
40 exposed-modules: Data.TMap
42 Data.TypeRepMap.Internal
44 build-depends: base >= 4.9 && < 5
48 default-extensions: OverloadedStrings
52 default-language: Haskell2010
54library typerep-extra-impls
55 hs-source-dirs: typerep-extra-impls
56 exposed-modules: Data.TypeRep.CMap
57 Data.TypeRep.OptimalVector
63 default-extensions: OverloadedStrings
68 default-language: Haskell2010
70test-suite typerep-map-test
71 type: exitcode-stdio-1.0
74 other-modules: Test.TypeRep.CMap
75 , Test.TypeRep.CacheMap
76 , Test.TypeRep.MapProperty
78 , Test.TypeRep.VectorOpt
80 , ghc-typelits-knownnat
85 , tasty-discover >= 4.1.1
88 build-tool-depends: tasty-discover:tasty-discover
89 ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
90 default-extensions: ScopedTypeVariables
93 default-language: Haskell2010
95benchmark typerep-map-benchmark
96 type: exitcode-stdio-1.0
97 default-language: Haskell2010
98 ghc-options: -Wall -O2 -threaded -rtsopts -with-rtsopts=-N -freduction-depth=0
99 hs-source-dirs: benchmark
110 , ghc-typelits-knownnat
112 , typerep-extra-impls
113 default-extensions: OverloadedStrings
117 if impl(ghc >= 8.2.2)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list