Skip to content
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

Tell which key failed to parse in maps #423

Merged
merged 1 commit into from
Jun 13, 2016
Merged

Conversation

phadej
Copy link
Collaborator

@phadej phadej commented Jun 8, 2016

Before

> eitherDecode "[{\"x\": 2}]" :: Either String [Map Int Int]
Left "Error in $[0]: input does not start with a digit"

After

Left "Error in $[0].x: input does not start with a digit"

@phadej phadej mentioned this pull request Jun 8, 2016
18 tasks
@bergmark
Copy link
Collaborator

Great thanks :-)

@bergmark bergmark merged commit 6a983c6 into haskell:master Jun 13, 2016
@phadej phadej deleted the error-in-map branch June 13, 2016 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants