Skip to content
This repository was archived by the owner on Nov 27, 2018. It is now read-only.

More array{} work #91

Merged
merged 13 commits into from
Nov 14, 2012
Merged

More array{} work #91

merged 13 commits into from
Nov 14, 2012

Conversation

avoidwork
Copy link
Owner

  • Refactored array.last() to accept an integer to return an optional array of indices
  • Created array.replace() to replace the contents of A with B
  • Created array.rest(n) to return a subset of the array from n (offset from the start)
  • Created array.rotate(n) to return a new Array with n being shifted to 0 (positive & negative supported)
  • Created array.series() which behaves like Python's range(), as a way to generate a custom Array

@ghost ghost assigned avoidwork Nov 14, 2012
avoidwork added a commit that referenced this pull request Nov 14, 2012
@avoidwork avoidwork merged commit 822569c into master Nov 14, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant