Skip to content

Commit

Permalink
change a broken doctest to a doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Jan 16, 2024
1 parent 3fc0ac1 commit fdb875a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions auto-update/Control/Debounce.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,17 @@
-- Example usage:
--
-- @
-- printString <- 'mkDebounce' 'defaultDebounceSettings'
-- > printString <- 'mkDebounce' 'defaultDebounceSettings'
-- { 'debounceAction' = putStrLn "Running action"
-- , 'debounceFreq' = 5000000 -- 5 seconds
-- , 'debounceEdge' = 'DI.trailingEdge' -- Trigger on the trailing edge
-- }
-- @
--
-- >>> printString
-- > printString
-- Running action
-- >>> printString
-- <Wait five seconds>
-- > printString
-- \<Wait five seconds>
-- Running action
-- @
--
-- See the fast-logger package ("System.Log.FastLogger") for real-world usage.
--
Expand Down

0 comments on commit fdb875a

Please sign in to comment.