packages feed

foldl-incremental 0.1.0.0 → 0.1.0.1

raw patch · 2 files changed

+42/−43 lines, 2 filesdep +hastachedep ~criteriondep ~foldl-incrementalPVP ok

version bump matches the API change (PVP)

Dependencies added: hastache

Dependency ranges changed: criterion, foldl-incremental

API changes (from Hackage documentation)

Files

foldl-incremental.cabal view
@@ -1,59 +1,58 @@-name:                     foldl-incremental-version:                  0.1.0.0-synopsis:                 incremental folds -author:                   Tony Day-Maintainer:               tonyday-license:                  MIT-license-File:             LICENSE-copyright:                Copyright (c) Tony Day 2014-author:                   Tony Day-category:                 Control,Statistics-build-type:               Simple-stability:                Experimental-cabal-version:            >= 1.10-extra-source-files:       README.markdown-synopsis:                 incremental folds-description:+Name:                     foldl-incremental+Version:                  0.1.0.1+Author:                   Tony Day+Maintainer:               tonyday567@gmail.com+License:                  MIT+License-File:             LICENSE+Copyright:                Copyright (c) Tony Day 2014+Category:                 Control,Statistics+Build-Type:               Simple+Stability:                Experimental+Cabal-Version:            >= 1.10+Extra-Source-Files:       README.markdown+Synopsis:                 incremental folds+Description:     `foldl-incremental` allows you to create incremental folds and scans such as moving averages or moving deviations.     .     It supplies `Incremental` which represents a state of an exponential moving average calculation, and `incrementalize`, which turns functions into suitable step functions.  Homepage:                 https://github.com/tonyday567/foldl-incremental-bug-reports:              https://github.com/tonyday567/foldl-incremental/issues-tested-With:              GHC==7.6.3-source-repository         head-  type:                   git-  location:               git://github.com/tonyday567/foldl-incremental.git+Bug-Reports:              https://github.com/tonyday567/foldl-incremental/issues+Tested-With:              GHC==7.6.3+Source-Repository         head+  Type:                   git+  Location:               git://github.com/tonyday567/foldl-incremental.git -library-  exposed-modules:        Control.Foldl.Incremental+Library+  Exposed-Modules:        Control.Foldl.Incremental -  build-depends:          base >= 4 && < 5,+  Build-Depends:          base >= 4 && < 5,                           foldl >= 1.0.3 && < 2                           -  default-language:       Haskell2010-  hs-source-dirs:         src+  Default-Language:       Haskell2010+  HS-Source-Dirs:         src -test-suite test-  type:                   exitcode-stdio-1.0-  main-is:                test.hs-  default-language:       Haskell2010-  hs-source-dirs:         src, test-  build-depends:          base >= 4 && < 5,+Test-Suite test+  Type:                   exitcode-stdio-1.0+  Main-Is:                test.hs+  Default-Language:       Haskell2010+  HS-Source-Dirs:         src, test+  Build-Depends:          base >= 4 && < 5,                           bytestring >= 0.10.0.2,                           foldl >= 1.0.3 && < 2,                           tasty >= 0.7 && < 1,                           tasty-golden >= 2.2.0.2 && < 3,                           tasty-quickcheck >= 0.8,                           tasty-hunit >= 0.4.1 && < 5,-                          foldl-incremental >= 0.1.0.0+                          foldl-incremental >= 0.1.0.1 -benchmark bench-  type:                   exitcode-stdio-1.0-  main-is:                bench.hs-  default-language:       Haskell2010-  hs-source-dirs:         test-  build-depends:          base >= 4 && < 5,+Benchmark bench+  Type:                   exitcode-stdio-1.0+  Main-Is:                bench.hs+  Default-Language:       Haskell2010+  HS-Source-Dirs:         test+  Build-Depends:          base >= 4 && < 5,                           foldl >= 1.0.3 && < 2,-                          criterion >= 0.10.0.0,-                          foldl-incremental >= 0.1.0.0+                          hastache == 0.5.1,+                          criterion >= 0.8.0.1,+                          foldl-incremental >= 0.1.0.1
src/Control/Foldl/Incremental.hs view
@@ -7,11 +7,11 @@      Statistics are based on exponential-weighting schemes which enable statistics to be calculated in a streaming one-pass manner.  The stream of moving averages with a `rate` of 0.9 is: ->>> scan (ma 0.9) [1..10]+>>> scan (incMa 0.9) [1..10]  or if you just want the moving average at the end. ->>> fold (ma 0.9) [1..10]+>>> fold (incMa 0.9) [1..10]  -}