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.12
LTS Haskell 23.1:0.2.0.14
Stackage Nightly 2024-12-21:0.2.0.14
Latest on Hackage:0.2.0.14

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.12@sha256:c9c7fff07226ccd50c12c73de948f403ee8e319673dc18561bdec870509692d4,2719

Module documentation for 0.2.0.12

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.12 – 2024-09-13

  • Update dependency version bounds with cabal-plan-bounds. This adds support for new packages, while drops support for some old ones.

0.2.0.11 – 2023-04-05

  • Confirmed test with ghc-9.4.4 and time-1.12.

0.2.0.10 – 2022-11-24

  • Confirmed test with ghc-9.2.5 and time-1.11.

0.2.0.9 – 2019-10-04

  • Confirmed test with time-1.9.3.

0.2.0.8 – 2018-09-23

  • Confirmed test with stm-2.5.0.0.

0.2.0.7 – 2018-03-14

  • Confirmed test with hspec-2.5.0. Remove its dependency upper bound, because I think it’s stable enough.

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.