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

LTS Haskell 22.29:0.6.1
Stackage Nightly 2024-07-13:0.6.1
Latest on Hackage:0.6.1

See all snapshots pointedlist appears in

BSD-3-Clause licensed by Jeff Wheeler
Maintained by [email protected]
This version can be pinned in stack with:pointedlist-0.6.1@sha256:1e284536324a59e5809f862e6d43dbffc7aaf9e54020848ff6be0af48d07adfe,851

Module documentation for 0.6.1

Depends on 2 packages(full list with versions):
Used by 1 package in lts-20.26(full list with versions):

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.