Skip to content
This repository has been archived by the owner on Apr 19, 2020. It is now read-only.

Consider adding support for Array.sortWith #99

Open
adam-wyluda opened this issue Mar 10, 2016 · 0 comments
Open

Consider adding support for Array.sortWith #99

adam-wyluda opened this issue Mar 10, 2016 · 0 comments
Labels

Comments

@adam-wyluda
Copy link
Contributor

The implementation could be based on util.Sorting.quickSort.

I'm not sure if we should also support sortBy function, since it would require client to provide a reference to an on-heap implementation of Ordering typeclass. Perhaps our interface of sortWith (or we could name it just as "sort" in that case) could take additional mapping argument with identity function as a default value.

@densh densh added the Feature label Mar 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants