pointedlist: A zipper-like comonad which works as a list, tracking a position.
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.
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.4.0.1, 0.4.0.2, 0.4.0.3, 0.4.0.4, 0.6, 0.6.1 |
---|---|
Dependencies | base (==4.*), binary, derive, fclabels (==1.1.*) [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 JeffWheeler at Mon Jan 28 21:21:39 UTC 2013 |
Distributions | Debian:0.6.1, LTSHaskell:0.6.1, NixOS:0.6.1, Stackage:0.6.1, openSUSE:0.6.1 |
Downloads | 15819 total (34 in the last 30 days) |
Rating | (no votes yet) [estimated by rule of succession] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] Hackage Matrix CI |
Downloads
- pointedlist-0.4.0.4.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)