The lens-sop package

[ Tags: bsd3, generics, library ] [ Propose Tags ]

This library contains a definition of generalized lenses that are built on top of the fclabels package.

It also contains SOP-style generic functions (based on the generics-sop package) that compute lenses for a given record type. Generalized lenses for the SOP representation types are also provided.

Furthermore, a generic function is provided that computes a lens from a given (string-based) path specification.


Dependencies base (>=4.6 && <5), fclabels (==2.0.*), generics-sop (>=0.2 && <0.4), transformers (>=0.3 && <0.6) [details]
License BSD3
Author Edsko de Vries <>, Andres Löh <>
Category Generics
Source repo head: git clone
Uploaded Sat Apr 29 16:59:35 UTC 2017 by AndresLoeh
Distributions NixOS:
Downloads 1623 total (32 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-04-29 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees