Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/Control/Monad/Cont/Class.purs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ import Prelude (class Monad)
-- | For example:
-- |
-- | ```purescript
-- | -- setTimeout :: Number -> Effect Unit -> Effect Unit
-- |
-- | delay :: Number -> ContT Unit Effect Unit
-- | delay n = callCC \cont ->
-- | lift $ setTimeout n (runContT (cont unit) (\_ -> return unit))
-- | lift $ setTimeout n (runContT (cont unit) (\_ -> pure unit))
-- | ```
-- | An implementation is provided for `ContT`, and for other monad transformers
-- | defined in this library.
Expand Down