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.

Versions [faq] 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.2.0.0
Dependencies base (>=4.7 && <4.10), template-haskell (>=2.9 && <2.12) [details]
License BSD-3-Clause
Author Fraser Murray
Maintainer fraser.m.murray@gmail.com
Category Control
Home page http://github.com/intolerable/shared-fields
Source repo head: git clone git://github.com/intolerable/shared-fields.git
this: git clone git://github.com/intolerable/shared-fields.git(tag v0.1.2.0)
Uploaded by Intolerable at Wed Aug 3 12:20:02 UTC 2016
Distributions NixOS:0.2.0.0
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 available [build log]
Last success reported on 2016-08-03 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees