You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I often find myself looking for an operator that would allow filtering the stream with an effectful function.
Something like def evalFilter(f: A => F[Boolean]): Stream[F, A], maybe also def evalMapOption[B](f: A => F[Option[B]]): Stream[F, B] (similar to how TraverseFilter's methods look like).
I would like to contribute these, if it looks like a good idea.
The text was updated successfully, but these errors were encountered:
I often find myself looking for an operator that would allow filtering the stream with an effectful function.
Something like
def evalFilter(f: A => F[Boolean]): Stream[F, A]
, maybe alsodef evalMapOption[B](f: A => F[Option[B]]): Stream[F, B]
(similar to howTraverseFilter
's methods look like).I would like to contribute these, if it looks like a good idea.
The text was updated successfully, but these errors were encountered: