Skip to content

Add Array.sorter, Array.prototype.shuffle, Array.prototype.shuffle_only ...#29

Open
foo123 wants to merge 4 commits intoguipn:masterfrom
foo123:master
Open

Add Array.sorter, Array.prototype.shuffle, Array.prototype.shuffle_only ...#29
foo123 wants to merge 4 commits intoguipn:masterfrom
foo123:master

Conversation

@foo123
Copy link
Copy Markdown

@foo123 foo123 commented Mar 6, 2015

...utilities

Hello, added a new Array utility Array.sorter, (with associated test) that creates (and returns) a sorter
that can do multi-sub-sorting by multiple (and nested) keys each ascending or descending independantly

Added Array.prototype.shuffle, which shuffles an array using Fisher-Yates unbiased shuffling

Added Array.prototype.shuffle_only which shuffles only part of array (by included indices) and is a variatiion of Fisher-Yates unbiased shuffling

Nikos M added 4 commits March 6, 2015 16:46
String.prototype.render,
Array.difference,
Array.intersection,
Array.union,
Array.prototype.pick,
Array.prototype.pick_only,
Array.prototype.get
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.

1 participant