microlens-th

Automatic generation of record lenses for microlens http://github.com/aelve/microlens

Version on this page:0.2.1.1
LTS Haskell 15.15:0.4.3.5
Stackage Nightly 2020-06-04:0.4.3.5
Latest on Hackage:0.4.3.5

See all snapshots microlens-th appears in

BSD-3-Clause licensed by Artyom
Maintained by Artyom

Module documentation for 0.2.1.1

This version can be pinned in stack with:[email protected]:ea960db79e4404f3ffa30a3a909336db4801c465197372123230129946447ecb,1747

This package lets you automatically generate lenses for data types; code was extracted from the lens package, and therefore generated lenses are fully compatible with ones generated by lens (and can be used both from lens and microlens).

This package is a part of the microlens family; see the readme on Github.

Changes

0.2.1.1

  • Bumped microlens version again.

0.2.1.0

  • Bumped base version.
  • Bumped microlens version.

0.2.0.0

  • createClass was removed because it doesn’t seem to be useful without lensClass.
  • defaultFieldRules isn’t exported anymore – use camelCaseFields.

0.1.2.0

  • Package now compiles with -O2 and other optimisations by default.

0.1.1.0

  • Added makeLensesFor (and lensRulesFor).

0.1.0.1

  • Wrote a bit of documentation.

0.1.0.0

Initial release.