The zipper package
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 systems 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 system is to instantiate the multirec library for that system.
Properties
| Versions | 0.1, 0.2, 0.3, 0.3.1, 0.4, 0.4.1, 0.4.2 |
|---|---|
| Dependencies | base (3.*), multirec (≥0.1.5 & <0.3) |
| License | BSD3 |
| Author | Alexey Rodriguez, Stefan Holdermans, Andres Löh, Johan Jeuring |
| Maintainer | generics@haskell.org |
| Stability | experimental |
| Category | Generics |
| Home page | http://www.cs.uu.nl/wiki/GenericProgramming/Multirec |
| Upload date | Tue Jan 13 15:03:32 UTC 2009 |
| Uploaded by | AndresLoeh |
| Built on | ghc-6.10 |
| Build failure | ghc-6.12 (log) |
| Distributions | NixOS: 0.4.2 |
Modules
- Generics
- MultiRec
Downloads
- zipper-0.1.tar.gz (Cabal source package)
- package description (included in the package)