Skip to content
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

Implement the Either monad #3

Merged
merged 1 commit into from Feb 16, 2015
Merged

Conversation

aereal
Copy link
Contributor

@aereal aereal commented Feb 10, 2015

Hi,

Add the Either monad that likes Haskell's.

@hiratara
Copy link
Owner

Looks good. I was going to use simple hash-ref or array-ref and to tag it with a plain string (i.e. "right" "left"), but it is also a good to split them into sub classes.

Thanks for your contribution!

hiratara added a commit that referenced this pull request Feb 16, 2015
@hiratara hiratara merged commit a8ab406 into hiratara:master Feb 16, 2015
@aereal
Copy link
Contributor Author

aereal commented Feb 16, 2015

thanks! 🎉

@aereal aereal mentioned this pull request Mar 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants