minilens: A minimalistic lens library, providing only the simplest, most basic lens functionality.
Lenses satisfy the properties of the Category type class, and are used
to inspect and update individual elements of a data structue in a type-safe
way. This library provides the simplest possible data types satisfying
these properties.
"minilens" type aims to provide a very simple improvement on Haskell's
record syntax: the idea of composable record accessors called Lens
es.
As of yet, there are no fancy Template Haskell APIs for generating lenses
programmatically; you are expected to write your lenses by hand. Some handy
helper functions are provided to help you do this.
This library was originally part of the Dao package, but has been branched
into it's own package in the hopes that it will be useful in a wider
variety of projects.
Downloads
- minilens-0.1.0.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.1.0.0, 0.1.0.1, 0.1.1.0, 0.1.1.1, 1.0.0.0, 1.0.0.1, 1.0.0.2 |
---|---|
Dependencies | array (==0.5.0.0), base (>=4.7 && <4.8), containers (>=0.5.5.0 && <=0.5.5.1), mtl (>=2.2.0 && <=2.2.1), transformers (>=0.3.0.0 && <=0.4.3.0) [details] |
License | GPL-3.0-only |
Copyright | 2008-2015 Ramin Honary |
Author | Ramin Honary |
Maintainer | ramin.honary@gmail.com |
Category | Data, Lens |
Home page | https://github.com/RaminHAL9001/mini-lens |
Uploaded | by RaminHonary at 2015-11-25T19:24:02Z |
Distributions | |
Reverse Dependencies | 1 direct, 1 indirect [details] |
Downloads | 3979 total (28 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] All reported builds failed as of 2016-11-30 [all 4 reports] |