Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by icen

9 years ago

Such a structure is called a Zipper, for anyone wanting to look into it further.

1 comment

icen

Reply

eru  9 years ago

In this case it's a Zipper for a list. You can write zippers for other data structures as well (and in fact you can mechanically derive them, even).

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities