Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Effectful filtering of streams operators #1570

Closed
kubukoz opened this issue Aug 28, 2019 · 2 comments
Closed

Effectful filtering of streams operators #1570

kubukoz opened this issue Aug 28, 2019 · 2 comments

Comments

@kubukoz
Copy link
Member

kubukoz commented Aug 28, 2019

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.

@mpilquist
Copy link
Member

👍 from me.

@kubukoz
Copy link
Member Author

kubukoz commented Dec 28, 2019

Done in #1619

@kubukoz kubukoz closed this as completed Dec 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants