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

[ bsd3, control, library ] [ Propose Tags ]

a pair of template haskell functions for generating fields that are shared between modules. normally with lens' makeFields function, you get clashing classes between modules, but with shared-fields you can create just the class definitions in another file and then import them to keep the classes consistent.

Versions [faq],,,
Dependencies base (==4.7.*), template-haskell (==2.9.*) [details]
License BSD-3-Clause
Author Fraser Murray
Revised Revision 1 made by Intolerable at Mon Jul 20 18:22:38 UTC 2015
Category Control
Home page
Source repo head: git clone git://
this: git clone git:// v0.1.0.0)
Uploaded by Intolerable at Thu Jun 18 17:40:50 UTC 2015
Distributions NixOS:
Downloads 1334 total (36 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2016-12-02 [all 6 reports]


  • Control
    • Lens
      • TH
        • Control.Lens.TH.SharedFields


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees