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, fclabels (<0.5) [details]
License BSD-3-Clause
Author Jeff Wheeler
Maintainer jeffwheeler@gmail.com
Category Data
Uploaded by RussellOConnor at Thu Jan 6 03:56:47 UTC 2011
Distributions Debian:0.6.1, LTSHaskell:0.6.1, NixOS:0.6.1, Stackage:0.6.1, openSUSE:0.6.1
Downloads 15956 total (81 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-28 [all 7 reports]
Hackage Matrix CI

Modules

  • Data
    • List
      • Data.List.PointedList
        • Data.List.PointedList.Circular

Downloads

Maintainer's Corner

For package maintainers and hackage trustees