Y
Hacker News
new
|
ask
|
show
|
jobs
by
shakadak
241 days ago
Yes, although it's usually defined as:
{ slides_shown: List<Slide>, slides_left: List<Slide> }
Where the head of slides_left is the current slide. Pretty much any recursive data structure can be derived into a zipper.