| CARVIEW |
Select Language
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx/1.24.0 (Ubuntu)
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=300
Content-Encoding: gzip
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Date: Sat, 17 Jan 2026 12:18:53 GMT
X-Served-By: cache-dfw-kdal2120110-DFW, cache-bom-vanm7210064-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768652332.365929,VS0,VE832
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
shared-fields: a tiny library for using shared lens fields
shared-fields: a tiny library for using shared lens fields
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.
Downloads
- shared-fields-0.2.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 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 && <2.11) [details] |
| License | BSD-3-Clause |
| Author | Fraser Murray |
| Maintainer | fraser.m.murray@gmail.com |
| Uploaded | by Intolerable at 2015-07-20T15:59:13Z |
| Category | Control |
| Home page | https://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.2.0.0) |
| Distributions | |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Downloads | 2966 total (16 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] |