Zippers is an actively used design pattern created in 1997. A zipper is a technique of representing an aggregate data structure so that it is convenient for writing programs that traverse the structure arbitrarily and update its contents, especially in purely functional programming languages. The zipper was described by GĂ©rard Huet in 1997. It includes and generalizes the gap buffer technique sometimes used with arrays. Read more on Wikipedia...

22Years Old

Languages with Zippers include haskell

Example from haskell:

-- https://wiki.haskell.org/Zipper_monad/TravelTree

Last updated August 9th, 2020

Edit Zippers on GitHub