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 upChange `Maybe.andThen` docs to use `List.head` over `String.toInt` #328
Conversation
jvoigtlaender
referenced this pull request
Aug 30, 2015
Closed
Maybe.andThen Documentation Is Not Valid #300
pushed a commit
that referenced
this pull request
Aug 30, 2015
evancz
merged commit 4d1d255
into
elm:master
Aug 30, 2015
1 check failed
continuous-integration/travis-ci/pr
The Travis CI build could not complete due to an error
Details
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
Thanks! :D |
rtfeldman
deleted the
rtfeldman:revise-maybe-docs
branch
Aug 30, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rtfeldman commentedAug 4, 2015
The current docs for
Maybe.andThenuse the example ofString.toInt, but that function now returns aResultrather than aMaybe.This revises the docs to use
List.headfor the example instead, as it does return aMaybe:This also updates the code examples to use the current style recommendations.