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.6
LTS Haskell 22.36:0.2.0.12
Stackage Nightly 2024-10-03:0.2.0.12
Latest on Hackage:0.2.0.12

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.6@sha256:14181f78e7ad06a5c8aab809bb3c885c90de5623ed460e9c8c77e869f2556a27,2203

Module documentation for 0.2.0.6

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.6 – 2017-07-21

  • Confirmed test with time-1.8.
  • Drop version bounds for hspec. It’s stable.

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.