Hacker News new | past | comments | ask | show | jobs | submit login

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.




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




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: