fold-debounce

Fold multiple events that happen in a given period of time.

https://github.com/debug-ito/fold-debounce

Version on this page:0.2.0.5
LTS Haskell 22.13:0.2.0.11
Stackage Nightly 2024-03-14:0.2.0.11
Latest on Hackage:0.2.0.11

See all snapshots fold-debounce appears in

BSD-3-Clause licensed and maintained by Toshio Ito
This version can be pinned in stack with:fold-debounce-0.2.0.5@sha256:6f2d5f05015273261237cf1d01771e4aa66f4d2e3dad648c6969817f1eed9469,2219

Module documentation for 0.2.0.5

fold-debounce

Fold multiple events that happen in a given period of time.

How to run tests

cabal configure --enable-tests && cabal build && cabal test

Author

Toshio Ito <debug.ito [at] gmail.com>

Changes

Revision history for fold-debounce

0.2.0.5 – 2017-01-24

  • Confirmed test with hspec-2.4.0.

0.2.0.4 – 2016-11-27

  • Confirmed test with time-1.7.

0.2.0.3 – 2016-10-09

  • Confirmed build with hspec-2.3.0.

0.2.0.2 – 2016-05-22

  • Confirmed build with data-default-class-0.1.0 and base-4.9.0.0.

0.2.0.1 – 2016-05-02

  • Loosen dependency on data-default to data-default-class.
  • Supports time-1.6 and hspec-2.2.3.
  • Fix test error in Mac OS X.

0.2.0.0 – 2015-06-01

  • The debounce period now starts from the time when the first input event is sent. Previously it was the time when the first input event is popped from the input queue. That lead to weird behavior when the input traffic was too intense.

  • Now this module works without -threaded ghc option thanks to new dependency on ‘stm-delay’ package.

  • Bumped the major version due to the new dependency.

0.1.0.0 – 2015-05-22

  • First version. Released on an unsuspecting world.