-
Notifications
You must be signed in to change notification settings - Fork 14
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 flatMap and leftMap to Maybe types #221
Comments
Hi! Can I try working on this? |
How is your progress going? Do you need any help? I just created a Discord chat channel. Hit me up there if you have questions. https://discord.gg/Gg7ptD5 |
Hi, can I work on this issue instead? |
Sorry I was having internet difficulties. Third world country 😞 |
lol no worries. I am having internet difficulties right now too. Guess it's contagious :) Still plenty of issues left to tackle :) Cheers! |
Add the
flatMap
andleftMap
functions toJust
andNothing
.Nothing.flatMap
will work just likemap
and returnNothing
.Just.flatMap
will be similar tomap
, but it will not box the value in aJust
.Just.leftMap
will not execute the function and return theJust
.Nothing.leftMap
will execute the function and return the value.Expected behavior
The text was updated successfully, but these errors were encountered: