zipper: Generic zipper for families of recursive datatypes

[ bsd3, generics, library ] [ Propose Tags ] [ Report a vulnerability ]

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.

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.2, 0.3, 0.3.1, 0.4, 0.4.1, 0.4.2, 0.4.3
Dependencies base (>=3 && <5), multirec (>=0.6 && <0.8) [details]
Tested with ghc ==7.6.3, ghc ==7.8.4, ghc ==7.10.3, ghc ==8.0.1
License BSD-3-Clause
Author Alexey Rodriguez, Stefan Holdermans, Andres Löh, Johan Jeuring
Maintainer generics@haskell.org
Category Generics
Home page http://www.cs.uu.nl/wiki/GenericProgramming/Multirec
Source repo head: git clone https://github.com/kosmikus/zipper
Uploaded by AndresLoeh at 2018-11-12T07:54:40Z
Distributions
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 6210 total (11 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-11-12 [all 1 reports]