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 field order in Json.Decode.andThen example #617
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jvoigtlaender commentedMay 20, 2016
Deliberately made the thing that
andThenchecks first not be the first field in a concrete JSON input. As this question on the mailing list demonstrates, that's non-obvious for learners. That is, theandThenmay give the impression that the thing checked first needs to textually appear first. Better to crush this misconception with the example.