-
Notifications
You must be signed in to change notification settings - Fork 5
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
create Maybe
from value
#4
Comments
Hi, I think a Second question is, that library, dry-python has two versions, Perhaps we could clarify these questions first, and then you're welcome to take this on. |
I completely agree with you. We can create a function called I also find the dry-python decision to have two functions a bit confusing. Perhaps they intended to encapsulate |
Hello,
I would like to know if there is a way to create
Some
orNothing
based on a value. Specifically, if the value isNone
, it should createNothing
, and if the value is present, it should be encapsulated withinSome
.I saw a great example of this in one of the libraries that was put as an alternative to your repositories. This implementation is the one I am referring.
If this functionality does not currently exist, I am willing to implement it if we can agree on the approach.
The text was updated successfully, but these errors were encountered: