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

Documentation: Specifies that Json.Decode.keyValuePairs garantees no ordering. #863

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
3 participants
@astlouisf

astlouisf commented May 6, 2017

I was surprised today to find that Json.Decode.keyValuePairs doesn't enforce any order to elements of the resulting list. I wrongly assumed that it would considering Dict.toList does.

A simple notice clears any confusion.

@process-bot

This comment has been minimized.

Show comment
Hide comment
@process-bot

process-bot May 6, 2017

Thanks for the pull request! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

process-bot commented May 6, 2017

Thanks for the pull request! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz Jul 8, 2017

Member

I just did a change in d9d2c18 so that order is kept from the JSON.

Member

evancz commented Jul 8, 2017

I just did a change in d9d2c18 so that order is kept from the JSON.

@evancz evancz closed this Jul 8, 2017

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