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

MonadCombine and MonadFilter weak laws #1116

Closed
peterneyens opened this issue Jun 11, 2016 · 1 comment
Closed

MonadCombine and MonadFilter weak laws #1116

peterneyens opened this issue Jun 11, 2016 · 1 comment

Comments

@peterneyens
Copy link
Collaborator

MonadCombine Instances for XorT and OptionT fail the following laws (all defined in AlternativeLaws):

  • right absorbtion
  • right distributivity
  • left distributivity

MonadFilter instances for XorT and OptionT fail the right empty law (defined in MonadFilterLaws).

@mpilquist mentioned in the code when he created XorT that we could split both laws in weak/strong versions.

@peterneyens
Copy link
Collaborator Author

It seems this is a duplicate of #694

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

No branches or pull requests

1 participant