Also present in newer versions of the base package.
Moduleutility-ht-0.0.17.2Haskell98
Control.Monad.HT
- 26 values
- Packageutility-ht-0.0.17.2
- Exports26
- LanguageHaskell98
- LicenceBSD-3-Clause
- SourceHT.hs
Monadic repeat.
Deprecated. use M.until
repeat action until result fulfills condition
repeat action until result fulfills condition
Deprecated. use M.iterateLimit
parameter order equal to that of nest
parameter order equal to that of nest
I think this makes only sense in a lazy monad
like Trans.State.Lazy or IO.Lazy.
Lazy monadic conjunction.
That is, when the first action returns False,
then False is immediately returned, without running the second action.
Lazy monadic disjunction.
That is, when the first action returns True,
then True is immediately returned, without running the second action.