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

Fix #568: object is unordered #569

Merged
merged 1 commit into from Jul 22, 2017
Merged

Fix #568: object is unordered #569

merged 1 commit into from Jul 22, 2017

Conversation

phadej
Copy link
Collaborator

@phadej phadej commented Jul 18, 2017

No description provided.

[ "{\"0\":1,\"2\":3}", "{\"2\":3,\"0\":1}"]
(HM.fromList [(0,1),(2,3)] :: HM.HashMap Int Int)
, Example "Map Int Int"
[ "{\"0\":1,\"2\":3}", "{\"2\":3,\"0\":1}"]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as we have examples of objects with only two keys, listing all permutations is viable

[ "{\"0\":1,\"2\":3}", "{\"2\":3,\"0\":1}"]
(M.fromList [(Tagged 0,1),(Tagged 2,3)] :: M.Map (Tagged Int Int) Int)
, example "Map [Int] Int"
"[[[0],1],[[2],3]]"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Map is ordered! and list maintains that order.

@bergmark
Copy link
Collaborator

Thanks! But Is this supposed to only contain changes to the test suite?

@bergmark
Copy link
Collaborator

Oh n/m #568 was a test suite issue :-)

@bergmark bergmark merged commit 08fcbcd into haskell:master Jul 22, 2017
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