kudzu-forest/elm-zipper-pull/2.0.1

NOTE: the latest version is 5.0.0

ZipperPull

data structure

This library makes it easier to attach interface as [linear zipper](https://en.wikipedia.org/wiki/Zipper_(data_structure)#Example:_Bidirectional_list_traversal "list zipper") on arbitrary data types including ordinary records. Actually, no data correction type is defined in this package: the only functions exposed here is create, which returns not data itself, but a record containing handler functions to treat your data like list zipper. So it is named ZipperPull, not Zipper itself. This idea (record-of-functions as an interface) is from edkelly303/elm-any-type-collections.

Example

Living example in Ellie is given in here and here.