name: foldl-statistics
version: 0.1.4.2
cabal-version: >=1.10
build-type: Simple
license: BSD3
license-file: LICENSE
copyright: 2016 Data61 (CSIRO)
maintainer: Alex.Mason@data61.csiro.au
homepage: http://github.com/Data61/foldl-statistics#readme
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.
category: Math, Statistics
author: Alex Mason
extra-source-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: https://github.com/Data61/foldl-statistics
library
exposed-modules:
Control.Foldl.Statistics
build-depends:
base >=4.7 && <5,
foldl >=1.1 && <1.3,
math-functions >=0.1 && <0.3,
profunctors ==5.2.*,
semigroups >=0.18.2 && <1.0
default-language: Haskell2010
hs-source-dirs: src
test-suite foldl-statistics-test
type: exitcode-stdio-1.0
main-is: Spec.hs
build-depends:
base >=4.7 && <5.0,
foldl-statistics >=0.1.4.2 && <0.2,
foldl >=1.2.1 && <1.3,
statistics ==0.13.*,
tasty ==0.11.*,
tasty-quickcheck ==0.8.*,
vector >=0.11 && <0.13,
quickcheck-instances ==0.3.*,
profunctors ==5.2.*,
semigroups >=0.18.2 && <0.19
default-language: Haskell2010
hs-source-dirs: test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
benchmark bench-folds
type: exitcode-stdio-1.0
main-is: Main.hs
build-depends:
base >=4.9.0.0 && <4.10,
foldl-statistics >=0.1.4.2 && <0.2,
criterion ==1.1.*,
vector >=0.10 && <1.0,
statistics >=0.13.3.0 && <0.14,
mwc-random ==0.13.*,
foldl >=1.2.1 && <1.3
default-language: Haskell2010
hs-source-dirs: bench