shared-fields: a tiny library for using shared lens fields

[ bsd3, control, library ] [ Propose Tags ]

A simple single-module library for creating lens field typeclasses in a way that allows them to be shared between modules. By default, lens' makeFields creates a new class if it can't find a matching one in scope. This means that if you try to makeFields records in different modules without importing one module into the other, you'll get conflicting class definitions rather than a single lens which functions with both records.




Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,
Dependencies base (>=4.7 && <4.9), template-haskell (>=2.10 && <2.11) [details]
License BSD-3-Clause
Author Fraser Murray
Category Control
Home page
Source repo head: git clone git://
this: git clone git:// v0.2.0.0)
Uploaded by Intolerable at 2015-07-20T15:59:13Z
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2819 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed as of 2015-07-20 [all 1 reports]