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 javcasas

4 years ago

Maybe with some examples:

https://wiki.haskell.org/Zipper

https://en.m.wikipedia.org/wiki/Zipper_(data_structure)

To give you an example: the zipper of a list is two lists - one for the elements after the current one (the hole), another for the elements before the current one, plus the current element.

1 comment

javcasas

Reply

upghost  4 years ago

Hey sorry this is late but thank you so much! The paper on zippers was especially helpful.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities