News for hackers. Stuff that matters.
Re:Transducers for JavaScript by acjohnson55 on Friday October 10, 2014 @06:36PM (#8440395)
That's what a zipper [1] is good for. It gives you access to the rest of a collection relative to the current position.

[1] http://en.wikipedia.org/wiki/Zipper_%28data_structure%29

There are no comments on this comment yet.