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

[ bsd3, data, library ] [ Propose Tags ]

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 [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 Thu Jan 2 15:45:13 UTC 2014
Distributions Debian:0.6.1, LTSHaskell:0.6.1, NixOS:0.6.1, Stackage:0.6.1, openSUSE:0.6.1
Downloads 15954 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

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees