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

[ bsd3, data, library ] [ Propose Tags ]
Versions 0.0.1, 0.0.2, 0.1, 0.2, 0.3, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.4.0,,,,, 0.6, 0.6.1
Dependencies base (==4.*), binary [details]
License BSD-3-Clause
Author Jeff Wheeler
Maintainer jeffwheeler@gmail.com
Category Data
Source repo head: git clone git://github.com/jeffwheeler/pointedlist.git
Uploaded by fread2281 at Sat Apr 26 18:26:59 UTC 2014
Distributions Debian:0.6.1, LTSHaskell:0.6.1, NixOS:0.6.1, Stackage:0.6.1, openSUSE:0.6.1
Downloads 15765 total (82 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]
Hackage Matrix CI

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.




Maintainer's Corner

For package maintainers and hackage trustees