Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Quark has a reasonable story for List<>.sort() #227

Open
bozzzzo opened this issue Jul 27, 2016 · 0 comments
Open

Quark has a reasonable story for List<>.sort() #227

bozzzzo opened this issue Jul 27, 2016 · 0 comments

Comments

@bozzzzo
Copy link
Contributor

bozzzzo commented Jul 27, 2016

Right now, Quark lets you call the sort() method on any List, regardless of whether it's possible for the target language to partially-order list entries. This works in Java thanks to Bozzo's comparison hack, which makes sorting in Java act vaguely like sorting in Python. However, this does not work in Ruby (no hack in place). Furthermore, the hack meant that our JSON output was not consistent between languages, making testing more difficult -- I worked around that issue.

@bozzzzo bozzzzo added this to the runtime milestone Jul 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant