-
Notifications
You must be signed in to change notification settings - Fork 51
/
foldl.cabal
89 lines (85 loc) · 2.57 KB
/
foldl.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
Name: foldl
Version: 1.4.17
Cabal-Version: >=1.10
Build-Type: Simple
License: BSD3
License-File: LICENSE
Copyright: 2013 Gabriella Gonzalez
Author: Gabriella Gonzalez
Maintainer: GenuineGabriella@gmail.com
Bug-Reports: https://github.com/Gabriella439/Haskell-Foldl-Library/issues
Synopsis: Composable, streaming, and efficient left folds
Description: This library provides strict left folds that stream in constant
memory, and you can combine folds using @Applicative@ style to derive new
folds. Derived folds still traverse the container just once and are often as
efficient as hand-written folds.
Category: Control
Extra-Source-Files:
CHANGELOG.md
README.md
Source-Repository head
Type: git
Location: https://github.com/Gabriella439/Haskell-Foldl-Library
Library
HS-Source-Dirs: src
Build-Depends:
base >= 4.11.0.0 && < 5 ,
bytestring >= 0.9.2.1 && < 0.13,
random >= 1.2 && < 1.3 ,
primitive < 0.10,
text >= 0.11.2.0 && < 2.2 ,
transformers >= 0.2.0.0 && < 0.7 ,
vector >= 0.7 && < 0.14,
containers >= 0.5.0.0 && < 0.8 ,
unordered-containers < 0.3 ,
hashable < 1.6 ,
contravariant < 1.6 ,
profunctors >= 4.3.2 && < 5.7 ,
semigroupoids >= 1.0 && < 6.1 ,
comonad >= 4.0 && < 6
if impl(ghc < 8.0)
Build-Depends:
semigroups >= 0.17 && < 1.20
Exposed-Modules:
Control.Foldl,
Control.Foldl.ByteString,
Control.Foldl.NonEmpty
Control.Foldl.Text,
Control.Scanl
Other-Modules:
Control.Foldl.Optics
Control.Foldl.Internal
Control.Foldl.Util.Vector
Control.Foldl.Util.MVector
GHC-Options: -O2 -Wall
Default-Language: Haskell2010
Benchmark Foldl
Type: exitcode-stdio-1.0
HS-Source-Dirs: bench
Main-Is: Foldl.hs
Build-Depends:
base,
criterion,
foldl,
profunctors
GHC-Options: -O2 -Wall -rtsopts -with-rtsopts=-T
Default-Language: Haskell2010
Benchmark Scanl
Type: exitcode-stdio-1.0
HS-Source-Dirs: bench
Main-Is: Scanl.hs
Build-Depends:
base,
criterion,
foldl
GHC-Options: -O2 -Wall -rtsopts -with-rtsopts=-T
Default-Language: Haskell2010
Test-Suite doctest
Type: exitcode-stdio-1.0
HS-Source-Dirs: test
Main-Is: doctest.hs
Build-Depends:
base,
doctest >= 0.16
GHC-Options: -threaded
Default-Language: Haskell2010