-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Maybe class "map" function doesn't compose #615
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
Comments
Because of the simplified implementation, there are no |
I couldn't understand that paragraph. Thank you for explaining it clearly. |
Java's |
Uh oh!
There was an error while loading. Please reload this page.
In chapter 8,
Maybe
is defined as follows:Then an example is provided using a
.
style:However, it's been brought to my attention that this is not a "lawful" use of a functor because it doesn't compose?
I haven't finished the book so sorry if this is address further on.
PS: I think the
inspect
method has a bug in the recursion as this example will break it.The text was updated successfully, but these errors were encountered: