@hackage / dani-optics-dot

Use OverloadedRecordDot for nested optics access.

Latest0.2.0.0

About

Metadata

  • Last updated , by DanielDiazCarrete
  • License BSD-3-Clause
  • Categories Lenses
  • Maintained by: diaz_carrete@yahoo.com

  • Lottery factor: 1

Links

Installation

Tested Compilers

  1. 9.12.2
  2. 9.10.1
  3. 9.8.4

Readme

optics-dot

Use OverloadedRecordDot for nested field access and modification using optics from the "optics-core" package.

See the Haddocks for the Optics.Dot module for an example.

(Note that "optics-core" already provides syntactic sugar for field lenses in the Optics.Label module. It's based on OverloadedLabels instead of OverloadedRecordDot.)