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

either: implement Foldable #204

Merged
merged 1 commit into from
May 1, 2016
Merged

either: implement Foldable #204

merged 1 commit into from
May 1, 2016

Conversation

davidchambers
Copy link
Member

Closes #119

This is similar to #69. Does this patch look good to you, @scott-christopher?

@scott-christopher
Copy link
Member

🍄 Looks good to me.

@davidchambers davidchambers merged commit b149c57 into master May 1, 2016
@davidchambers davidchambers deleted the dc-either branch May 1, 2016 00:15
it('provides a "reduce" method', function() {
eq(S.Right(5).reduce.length, 2);
eq(S.Right(5).reduce(function(xs, x) { return xs.concat([x]); }, [42]),
[42, 5]);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually a type error, which I noticed thanks to #232. :)

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.

2 participants