pointedlist

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

LTS Haskell 14.1:0.6.1
Stackage Nightly 2019-08-18:0.6.1
Latest on Hackage:0.6.1

See all snapshots pointedlist appears in

BSD-3-Clause licensed by Jeff Wheeler
Maintained by jeffwheeler@gmail.com

Module documentation for 0.6.1

This version can be pinned in stack with:pointedlist-0.6.1@sha256:1e284536324a59e5809f862e6d43dbffc7aaf9e54020848ff6be0af48d07adfe,851

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.

Depends on 2 packages(full list with versions):
Used by 2 packages in lts-14.0(full list with versions):
comments powered byDisqus