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
Which is not too bad, but I'd prefer not to write the flatMap function. I'm basing this on the fp to the max example from the repository. Isn't there a more ergonomic way of writing code like this?
Thank you very much.
The text was updated successfully, but these errors were encountered:
When I want to abstract over the type of Monad (for example when using tagless final) I end up having to write code like this:
Which is not too bad, but I'd prefer not to write the flatMap function. I'm basing this on the fp to the max example from the repository. Isn't there a more ergonomic way of writing code like this?
Thank you very much.
The text was updated successfully, but these errors were encountered: