@hackage pointedlist0.6.1
A zipper-like comonad which works as a list, tracking a position.
Categories
License
BSD-3-Clause
Maintainer
jeffwheeler@gmail.com
Links
Versions
Installation
Dependencies (2)
Dependents (14)
@hackage/yi-language, @hackage/yi-mode-haskell, @hackage/acme-everything, @hackage/scalpel-core, @hackage/yi-frontend-pango, @hackage/tkhs, Show all…
A PointedList tracks the position in a non-empty list which works similarly to a zipper. A current item is always required, and therefore the list may never be empty. A circular PointedList wraps around to the other end when progressing past the actual edge.