-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Laws for MonadFilter and MonadCombine #135
Comments
|
I'll work on this one. |
Oh, and in order to write AlternativeLaws, you'll need the soon to be merged MonoidKLaws |
Thanks for the hint. I'll postpone the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Both of these have laws that we aren't currently testing.
The important one is
MonadFilter
since it introduces a new method (empty
) which isn't participating in any of its "inherited" laws. But there are also laws for howempty
andcombine
interact withflatMap
which we should be testing forMonadCombine
as well.See #125 for more discussion.
The text was updated successfully, but these errors were encountered: