We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be awesome to have a map that caters for nullable values and would return none if it's so.
none
At the moment I use
just(4).chain(x => fromNullable(add2(x)))
but it's cumbersome and not point-free. https://github.com/AlexGalays/space-monad implemented it in the map itself which imo is great.
map
The text was updated successfully, but these errors were encountered:
It looks really useful. I will add it soon. Thank you for the proposal 🙏
Sorry, something went wrong.
feat(#60): implement mapNullable in Maybe monad
68d3625
No branches or pull requests
It would be awesome to have a map that caters for nullable values and would return
none
if it's so.At the moment I use
but it's cumbersome and not point-free. https://github.com/AlexGalays/space-monad implemented it in the
map
itself which imo is great.The text was updated successfully, but these errors were encountered: