-
-
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
Add Choice type class, closes #463 #468
Conversation
Couldn't find any laws associated with it, what are the laws @julien-truffaut ? I may well be bad at looking for laws. |
Current coverage is
|
Laws for |
@adelbertc good point, I have never checked. For sure it must obey all laws of |
in haskell, http://hackage.haskell.org/package/base-4.8.1.0/docs/Control-Arrow.html#v:-124--124--124- |
Hm so do we want to keep |
If we keep |
Fair point. I'm in favor of nixing |
I agree, it is better to have a lawful I will have to drop |
btw, should we apply the same reasoning to |
Closing PR since this has no laws, Holding off on implementing |
@adelbertc make sense, thanks for starting the discussion on "lawfulness" of Do you think it would make sense to remove |
@fthomas thanks, so it seems that it is because |
Wait! It seems that I didn't tried hard enough to find a law! How does this look like:
It seems that the types align! |
|
adelbertc#3 has now Ok, now we have a law that relates |
Add Choice type class, closes #463
No description provided.