-
Notifications
You must be signed in to change notification settings - Fork 0
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
Rework Maybe
monad to work directly with None
#11
Milestone
Comments
katunilya
added
feature
New feature or request
important
This is most important issue for release it is in
labels
May 20, 2022
katunilya
added a commit
that referenced
this issue
May 20, 2022
katunilya
added a commit
that referenced
this issue
May 20, 2022
katunilya
added a commit
that referenced
this issue
May 20, 2022
katunilya
added a commit
that referenced
this issue
May 20, 2022
katunilya
added a commit
that referenced
this issue
May 20, 2022
This was referenced May 20, 2022
Merged
katunilya
added a commit
that referenced
this issue
May 20, 2022
katunilya
added a commit
that referenced
this issue
May 20, 2022
katunilya
added a commit
that referenced
this issue
May 20, 2022
katunilya
added a commit
that referenced
this issue
May 20, 2022
katunilya
added a commit
that referenced
this issue
May 20, 2022
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With this maybe becomes some kind of built-in monad. We just need:
Core functions
if_some
to run function only when not-None
value is passedif_none
to run function only whenNone
is passed to recoverGeneral-purpose utility functions
if_none_return
to return some value instead ofNone
The text was updated successfully, but these errors were encountered: