The shared-fields package

[ Tags: 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.

Properties

Versions 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.2.0.0
Dependencies base (>=4.7 && <4.9), template-haskell (==2.10.*) [details]
License BSD3
Author Fraser Murray
Maintainer fraser.m.murray@gmail.com
Category Control
Home page http://github.com/intolerable/shared-fields
Source repository head: git clone git://github.com/intolerable/shared-fields.git
this: git clone git://github.com/intolerable/shared-fields.git(tag v0.2.0.0)
Uploaded Mon Jul 20 15:59:13 UTC 2015 by Intolerable
Distributions NixOS:0.2.0.0
Downloads 368 total (5 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed as of 2015-07-20 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees