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

Validation is not a monad #1

puffnfresh opened this Issue Dec 14, 2013 · 1 comment


None yet
1 participant

puffnfresh commented Dec 14, 2013

If validation were a monad, the following two expressions would be equal: {
  return function(b) {
    return [a, b];

x.chain(function(a) {
  return {
    return [a, b];

It's not possible to make those be equal in the case that both x and y are failures.

The project should also be renamed to something like applicative.validation to avoid further confusion.


This comment has been minimized.

Show comment
Hide comment

puffnfresh Dec 15, 2013

Woo! Thanks 👍

puffnfresh commented Dec 15, 2013

Woo! Thanks 👍

@robotlolita robotlolita referenced this issue Jun 2, 2016


No chain? #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment