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

Maybe.andThen Documentation Is Not Valid #300

Closed
defndaines opened this Issue Jul 17, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@defndaines

defndaines commented Jul 17, 2015

The example code for andThen in the Maybe module is not valid. It assumes that String.toInt will return a Maybe, but it returns a Result.

Sorry, just learning, so I don't have a good working example to provide as a PR.

@jvoigtlaender

This comment has been minimized.

Show comment
Hide comment
@jvoigtlaender

jvoigtlaender Aug 30, 2015

Contributor

Closing this, since there is now a PR which addresses this: https://github.com/elm-lang/core/pull/328.

Contributor

jvoigtlaender commented Aug 30, 2015

Closing this, since there is now a PR which addresses this: https://github.com/elm-lang/core/pull/328.

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