The zipper package

[Tags: bsd3, library]

The Zipper is a data structure that allows typed navigation on a value. It maintains a subterm as a current point of focus. The rest of the value is the context. Focus and context are automatically updated when navigating up, down, left or right in the value. The term that is in focus can also be modified.

This library offers a generic Zipper for families of datatypes. In particular, it is possible to move the focus between subterms of different types, in an entirely type-safe way. This library is built on top of the multirec library, so all that is required to get a Zipper for a datatype family is to instantiate the multirec library for that family.


Properties

Versions0.1, 0.2, 0.3, 0.3.1, 0.4, 0.4.1, 0.4.2
Dependenciesbase (>=3 && <5), multirec (>=0.6 && <0.8)
LicenseBSD3
AuthorAlexey Rodriguez, Stefan Holdermans, Andres Löh, Johan Jeuring
Maintainergenerics@haskell.org
Stabilityexperimental
CategoryGenerics
Home pagehttp://www.cs.uu.nl/wiki/GenericProgramming/Multirec
Source repositoryhead: git clone https://github.com/kosmikus/zipper
Upload dateTue Dec 27 11:36:57 UTC 2011
Uploaded byAndresLoeh
DistributionsNixOS:0.4.2
Downloads481 total (46 in last 30 days)

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees