-
Notifications
You must be signed in to change notification settings - Fork 5
/
cached-io.cabal
61 lines (55 loc) · 1.73 KB
/
cached-io.cabal
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
-- Initial cached-io.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: ethan-test-library
version: 0.2.0.0
synopsis:
A simple library to cache a single IO action with timeout
description:
A simple library that caches an expensive IO action. This produces an IO
action that, when run, either runs the expensive action and saves its result
for a period of time, or re-uses the saved value. This amortizes the cost of
the expensive IO action without a lot of complexity.
See the test program for an example of how to use it.
license: Apache-2.0
license-file: LICENSE
author: SumAll, Inc.
maintainer: [email protected]
-- copyright:
category: Development
build-type: Simple
-- extra-source-files:
cabal-version: >=1.10
source-repository head
type: git
location: git://github.com:SumAll/haskell-cached-io.git
library
exposed-modules: Control.Concurrent.CachedIO
-- other-modules:
-- other-extensions:
build-depends:
base >=4.7 && <4.8,
stm,
time
hs-source-dirs: src/
default-language: Haskell2010
ghc-options: -rtsopts -fwarn-unused-imports -Wall
-fno-warn-unused-do-bind
if flag(developer)
ghc-options: -Werror
flag developer
manual: True
default: False
description:
compile with -Werror to make warnings fatal
executable test-cachedIO
main-is: test-cachedIO.hs
build-depends:
base >=4.7 && <4.8,
stm,
time
hs-source-dirs: src/, test/
default-language: Haskell2010
ghc-options: -threaded -rtsopts -fwarn-unused-imports -Wall
-fno-warn-unused-do-bind
if flag(developer)
ghc-options: -Werror