Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upTask.map2 example is not working #501
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
jvoigtlaender
Feb 12, 2016
Contributor
See this comment of @evancz. Equality on Tasks is in the same league as the others mentioned there. So: Task.map2 is working, == on tasks isn't, and shouldn't be expected to.
|
See this comment of @evancz. Equality on |
jvoigtlaender
referenced this issue
Feb 12, 2016
Closed
Documentation suggests that `==` works on tasks, but it doesn't #502
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
jvoigtlaender
Feb 12, 2016
Contributor
Closing this issue, opened another one pointing out the real problem more explicitly: https://github.com/elm-lang/core/issues/502.
|
Closing this issue, opened another one pointing out the real problem more explicitly: https://github.com/elm-lang/core/issues/502. |
jvoigtlaender
closed this
Feb 12, 2016
halfzebra
referenced this issue
Apr 11, 2016
Merged
Corrections for Task documentation concerning use of == #557
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
paparga commentedFeb 11, 2016
Hi!
I tried Task.map2 example
succeed 5 == map2 (+) (succeed 2) (succeed 3)and it returns
FalseIs this ok?
Pablo