pointedlist

A zipper-like comonad which works as a list, tracking a position.

Version on this page:0.6.1
LTS Haskell 8.12:0.6.1
Stackage Nightly 2017-04-24:0.6.1
Latest on Hackage:0.6.1
BSD3 licensed by Jeff Wheeler
Maintained by jeffwheeler@gmail.com

Module documentation for 0.6.1

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.

comments powered byDisqus