-
Notifications
You must be signed in to change notification settings - Fork 94
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
The second Functor law is redundant
is not proper
#35
Comments
Regarding your second point, The reason this property holds is that a function with the type That property of |
For the first point, we can use the free theorem (this is a key part of the proof):
This lets us turn any equation of the form For the precondition in that implication, first we note that this equation holds
Then we let
This can be simplified, using
and simplified again using the identity law
(This is the same proof as the one in the article, worded in a slightly different way.) |
Thanks @roboguy13 for answering :-) 5dd82fe adds a short remark in order to clarify the first question. |
in the article,
the derivation is problematic and therefore it derives a improper conclusion.
also,
are you sure this one is true?
apparently
map g . f /= f. map g
.The text was updated successfully, but these errors were encountered: