-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathmemoize.cabal
More file actions
64 lines (56 loc) · 1.88 KB
/
memoize.cabal
File metadata and controls
64 lines (56 loc) · 1.88 KB
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
cabal-version: 2.2
name: memoize
version: 1.1.1
license: BSD-3-Clause
license-file: LICENSE
stability: experimental
author: Jesse A. Tov <jesse.tov@gmail.com>
maintainer: jesse.tov@gmail.com
category: Data
synopsis: A memoization library
build-type: Simple
tested-with: GHC == 9.0.1, GHC == 8.10.7, GHC == 8.6.5
description:
This library provides a type class 'Memoizable' for memoizing
functions, along with instances for a variety of argument types.
It includes a Template Haskell function for deriving
'Memoizable' instances for arbitrary algebraic datatypes.
.
The library constructs pure memo caches without the use of
'unsafePerformIO'. This technique relies on implementation
assumptions that, while not guaranteed by the semantics of
Haskell, appear to be true.
extra-source-files: README.md CHANGELOG.md
library
build-depends: base >=4.8 && <5,
template-haskell >=2 && <3
default-language: Haskell98
ghc-options: -Wall -fno-warn-orphans
hs-source-dirs: src
exposed-modules:
Data.Function.Memoize
other-modules:
Data.Function.Memoize.TH
Data.Function.Memoize.Class
test-suite memoize-test1
default-language: Haskell98
hs-source-dirs: test
type: exitcode-stdio-1.0
main-is: test1.hs
build-depends: base, memoize
test-suite memoize-test2
default-language: Haskell98
hs-source-dirs: test
type: exitcode-stdio-1.0
main-is: test2.hs
build-depends: base, memoize
test-suite memoize-test3
default-language: Haskell98
hs-source-dirs: test
other-modules: Test3Helper
type: exitcode-stdio-1.0
main-is: test3.hs
build-depends: base, memoize
source-repository head
type: git
location: git://github.com/tov/memoize.git