MonadValueExt
object MonadValueExt
Extensions
Extensions
extension [F[_], A](fa: F[A])
Execute an action repeatedly until its result fails to satisfy the given predicate,
returning all the results obtained by sequential execution of fa
s.
Execute an action repeatedly until its result fails to satisfy the given predicate,
returning all the results obtained by sequential execution of fa
s.
This implementation uses append on each evaluation result, so avoid data structures with
non-constant append performance, e.g. List
.