with icon indicating copy to clipboard operation
with copied to clipboard

Lens tutorial for c#ers

Open wallymathieu opened this issue 5 years ago • 1 comments

In order to understand what's neat about having lenses, one needs to understand what lenses are.

How do we explain it in terms that might be more familiar to many developers?

The deep theory does not seem to be needed, rather more a cursory view of lenses and two main ways of combining them.

One way to view it is to see it as Templated Builders.

Evaluate:

  • [ ] https://artyom.me/lens-over-tea-1
  • [ ] https://hackage.haskell.org/package/lens-tutorial-1.0.3/docs/Control-Lens-Tutorial.html
  • [ ] https://www.schoolofhaskell.com/school/to-infinity-and-beyond/pick-of-the-week/a-little-lens-starter-tutorial
  • [ ] https://en.wikibooks.org/wiki/Haskell/Lenses_and_functional_references
  • [ ] http://eed3si9n.com/learning-scalaz/Lens.html

wallymathieu avatar Dec 09 '19 17:12 wallymathieu

Contrast with Structuremap , https://github.com/MapsterMapper/Mapster et.c.

wallymathieu avatar Dec 10 '19 09:12 wallymathieu