Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (41 sloc) 1.8 KB
name: zipper
version: 0.4.1
license: BSD3
license-file: LICENSE
author: Alexey Rodriguez,
Stefan Holdermans,
Andres Löh,
Johan Jeuring
maintainer: generics@haskell.org
category: Generics
synopsis: Generic zipper for families of recursive datatypes
homepage: http://www.cs.uu.nl/wiki/GenericProgramming/Multirec
description:
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.
stability: experimental
build-type: Simple
cabal-version: >= 1.6
tested-with: GHC == 7.0.4
extra-source-files: examples/AST.hs
examples/ASTUse.hs
examples/ASTZipper.hs
examples/ASTEditor.hs
CREDITS
source-repository head
type: git
location: https://github.com/kosmikus/zipper
library
hs-source-dirs: src
exposed-modules: Generics.MultiRec.Zipper
build-depends: base >= 3 && < 5,
multirec >= 0.6 && < 0.8