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

Task.map2 example is not working #501

Closed
paparga opened this Issue Feb 11, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@paparga

paparga commented Feb 11, 2016

Hi!

I tried Task.map2 example
succeed 5 == map2 (+) (succeed 2) (succeed 3)
and it returns False

Is this ok?

Pablo

@jvoigtlaender

This comment has been minimized.

Show comment
Hide comment
@jvoigtlaender

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.

Contributor

jvoigtlaender commented Feb 12, 2016

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.

@jvoigtlaender

This comment has been minimized.

Show comment
Hide comment
@jvoigtlaender

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.

Contributor

jvoigtlaender commented Feb 12, 2016

Closing this issue, opened another one pointing out the real problem more explicitly: https://github.com/elm-lang/core/issues/502.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment