fold-debounce 0.2.0.13 → 0.2.0.14
raw patch · 3 files changed
+10/−6 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- fold-debounce.cabal +1/−1
- src/Control/FoldDebounce.hs +5/−5
ChangeLog.md view
@@ -1,5 +1,9 @@ # Revision history for fold-debounce +## 0.2.0.14 -- 2024-11-01++* Remove broken links to `Control.Debounce` module. (#3)+ ## 0.2.0.13 -- 2024-10-31 * Now it depends on `data-default` instead of `data-default-class`.
fold-debounce.cabal view
@@ -1,5 +1,5 @@ name: fold-debounce-version: 0.2.0.13+version: 0.2.0.14 author: Toshio Ito <debug.ito@gmail.com> maintainer: Toshio Ito <debug.ito@gmail.com> license: BSD3
src/Control/FoldDebounce.hs view
@@ -30,17 +30,17 @@ -- > threadDelay 1000000 -- During this period, "value = 9" is printed. -- > Fdeb.close trigger ----- This module is similar to "Control.Debounce". It debouces input--- events and regulates the frequency at which the action (callback)+-- This module is similar to Control.Debounce module in [auto-update package](https://hackage.haskell.org/package/auto-update).+-- It debouces input events and regulates the frequency at which the action (callback) -- is executed. ----- The difference from "Control.Debounce" is:+-- The difference from Control.Debounce is: ----- * With "Control.Debounce", you cannot pass values to the callback+-- * With Control.Debounce, you cannot pass values to the callback -- action. This module folds (accumulates) the input events (type @i@) -- and passes the folded output event (type @o@) to the callback. ----- * "Control.Debounce" immediately runs the callback at the first+-- * Control.Debounce immediately runs the callback at the first -- input event. This module just starts a timer at the first input, -- and runs the callback when the timer expires. --