jscl
jscl copied to clipboard
Refactor sequence functions
trafficstars
Improve the iterator to support reverse order and bounded iterator. Rewrite do-sequence in terms of the iterators, and try to simplify the sequence functions with these abstractions.
For more insight, have a look to the discussions from https://github.com/davazp/jscl/pull/226#issuecomment-208419752