-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathfoldl-statistics.cabal
84 lines (79 loc) · 3.39 KB
/
foldl-statistics.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
name: foldl-statistics
version: 0.1.5.1
synopsis: Statistical functions from the statistics package implemented as
Folds.
description: The use of this package allows statistics to be computed using at most two
passes over the input data, one to compute a mean and one to compute a further
statistic such as variance and /n/th central moments. All algorithms are the
obvious implementation of Bryan O\'Sullivan\'s
<https://hackage.haskell.org/package/statistics statistics> package imeplemented
as `Fold's from the
<https://hackage.haskell.org/package/foldl foldl> package.
homepage: http://github.com/Data61/foldl-statistics#readme
license: BSD3
license-file: LICENSE
author: Alex Mason
maintainer: [email protected]
copyright: 2016 Data61 (CSIRO)
category: Math, Statistics
build-type: Simple
extra-source-files: CHANGELOG.md, README.md
cabal-version: >=1.10
tested-with: GHC == 7.8.4,
GHC == 7.10.3,
GHC == 8.0.2,
GHC == 8.2.2,
GHC == 8.4.3,
GHC == 8.6.1,
GHC == 9.0.2,
GHC == 9.2.8,
GHC == 9.4.8,
GHC == 9.6.4,
GHC == 9.8.2
library
hs-source-dirs: src
exposed-modules: Control.Foldl.Statistics
default-language: Haskell2010
build-depends: base >= 4.7 && < 5
, foldl >= 1.1 && < 1.5
, math-functions >= 0.1 && < 0.4
, profunctors >= 5.2 && < 5.7
, containers >= 0.1.0.0 && < 0.8
, unordered-containers >= 0.1.0.0 && < 0.3
, hashable >=1.0.1.1 && < 1.5
if impl(ghc < 8.0)
build-depends: semigroups >= 0.18 && < 1.0
test-suite foldl-statistics-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
build-depends: base
, foldl-statistics
, foldl
, statistics >= 0.13 && < 0.17
, tasty >= 0.11 && < 1.6
, tasty-quickcheck >= 0.8 && < 0.11
, vector >= 0.11 && < 0.14
, quickcheck-instances >= 0.3 && < 0.4
, profunctors
if impl(ghc < 8.0)
build-depends: semigroups
Benchmark bench-folds
type: exitcode-stdio-1.0
hs-source-dirs: bench
main-is: Main.hs
default-language: Haskell2010
build-depends: base
, foldl-statistics
, foldl
, statistics >= 0.13 && < 0.17
, criterion >= 1.1 && < 1.7
, vector >= 0.10 && < 1.0
, mwc-random >= 0.13 && < 0.16
if impl(ghc < 8.0)
build-depends: semigroups
source-repository head
type: git
location: https://github.com/Data61/foldl-statistics