Written version: blog.rockthejvm.com/lens/
(also contains the library definitions you need to add to your build.sbt)
Links from the video:
Monocle: github.com/optics-dev/Monocle
This video is for Scala programmers who love the DRY principle (so that's probably everyone) and who want to manipulate deeply nested data structures.
In this tutorial I'll show you how to use the really nice Monocle library for Scala and introduce the concepts of Lenses, Prisms and Optics in general, so that you can easily inspect or modify data structures in Scala without having to copy and paste cloning code or pattern match expressions.
Follow Rock the JVM on:
LinkedIn: / rockthejvm
Twitter: / rockthejvm
Blog: rockthejvm.com/blog
-------------------------------------------------------------------------
Home: rockthejvm.com
-------------------------------------------------------------------------
Негізгі бет Ғылым және технология Lenses, Prisms and Optics in Scala | Rock the JVM
Пікірлер: 44