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
{{ message }}
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
It's very common (at least in the code I write) to have multiple Effect.flatMap chains. It would be very useful to extend the flatMap function to help reduce boilerplate.
Overloading an api with alternative syntax for the same things should generally be avoided unless there's a real benefit to it. In this case, I'm doubtful that adding built-in pipe-like behavior to flatMap (or any other operator) would be beneficial. In my opinion, this'd negatively impact readability and composability.
I feel like adding this only to flatMap would be awkward and adding it everywhere counter-productive, it is also a good use case for generators so the motivation isn't too strong for it to be included in the library
It's very common (at least in the code I write) to have multiple Effect.flatMap chains. It would be very useful to extend the flatMap function to help reduce boilerplate.
The text was updated successfully, but these errors were encountered: