minilens: A minimalistic lens library, providing only the simplest, most basic lens functionality.

[ data, gpl, lens, library ] [ Propose Tags ]

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.

The "minilens" package aims to provide a very simple improvement on Haskell's record syntax: the idea of composable record accessors called Lenses.

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 handy combinator 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.


[Last Documentation]

  • Data
    • Lens
      • Data.Lens.Minimal


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,,,
Dependencies array (>= && <, base (>=4.7 && <4.9), bytestring (>= && <, containers (>= && <, mtl (>=2.2.0 && <=2.2.1), semigroups (>= && <=, text (>= && <, transformers (>= && <= [details]
License GPL-3.0-only
Copyright 2008-2016 Ramin Honary
Author Ramin Honary
Category Data, Lens
Home page
Uploaded by RaminHonary at 2016-05-31T17:23:24Z
Reverse Dependencies 1 direct, 1 indirect [details]
Downloads 3886 total (12 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-24 [all 3 reports]