This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Provides an implementation of the List Zipper and its comonadic interface.
version 1.0.0
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.0
Committed At 2018-08-09 23:26:29 UTC
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1



Elm Comonad Zipper

type Zipper a
    = Zipper (List a) a (List a)

This package provides an implementation of a List Zipper as well as its corresponding comonadic interface, namely, the functions extract, duplicate and extend.

These are useful to perform transformations which depend on the neighborhood of the elements, you can find examples here.

Running the examples

To run the examples just clone the repo, and run elm-reactor in the directory:

git clone
cd elm-comonad-zipper

Then just navigate to http://localhost:8000/examples/Chart.elm