-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add OptionT.fromF #659
Comments
Thanks for the suggestion @lambdista. Just to make sure I understand clearly, you're talking about a function that will take an If so, here are a couple thoughts:
|
Thanks for your answer @ceedubs. Yes, that's exactly what I mean. About your thoughts:
Let me know if you want me to add it and send a PR. Thank you. |
I'd like this 👍. Anyone else? I'd propose |
👍 |
That's great! |
Implemented, added test and updated related docs. Let me know if you want to me to change/add anything. Thank you. |
add OptionT.liftF and update related docs and tests. Close issue #659
Completed by #667. |
I noticed that the 0.3.0 version includes a useful
OptionT.fromOption
function. It lets you build anOptionT
from anOption
.Wouldn't it be the case to add an
OptionT.fromF
that lets you build anOptionT
from anApplicative F
? As in:Of course I'd accept suggestions for a better name than
fromF
.The text was updated successfully, but these errors were encountered: