pez: A Pretty Extraordinary Zipper library
PEZ is a generic zipper library. It uses lenses from the "fclabels" package to
reference a "location" to move to in the zipper. The zipper is restricted to
types in the Typeable
class, allowing the user to "move up" through complex data
structures such as mutually-recursive types.
Both the Typeable class and fclabels lenses can be derived in GHC, making it easy for the programmer to use a zipper with a minimum of boilerplate.
Please send any feature requests or bug reports along.
Changes 0.0.4 -> 0.1.0:
- use fclabels 1.0 - module renamed Data.Label.Zipper - 'ZPath' renamed 'Motion', define new Up type and instance - fclabels lenses now require wrapping with 'to' - 'moveTo' changed to 'move' - savedLens renamed flatten - SavedPath renamed To - removed experimental operators - using failure package for exceptions - etc., etc.
Downloads
- pez-0.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.1.0 |
---|---|
Dependencies | base (>=4 && <5), failure (>=0.1), fclabels (>=1.0 && <1.2), thrist (>=0.2 && <0.3) [details] |
License | BSD-3-Clause |
Copyright | Brandon Simmons, 2011 |
Author | Brandon Simmons |
Maintainer | brandon.m.simmons@gmail.com |
Category | Data |
Home page | http://brandon.si/code/pez-zipper-library-released/ |
Source repo | head: git clone https://github.com/jberryman/pez.git -b master |
Uploaded | by BrandonSimmons at 2012-01-28T03:50:40Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 3641 total (18 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |