monad-loops
monad-loops copied to clipboard
Fix docs for `unfoldWhileM` and `unfoldWhileM'`
The docs say that unfoldWhileM
and unfoldWhileM'
repeatedly evaluate the monadic action until the predicate returns True
, but they actually evaluate it while the predicate returns True
.
Duplicate of #16