Lenses, Prisms and Optics in Scala | Rock the JVM

Описание к видео Lenses, Prisms and Optics in Scala | Rock the JVM

Written version: https://blog.rockthejvm.com/lens/
(also contains the library definitions you need to add to your build.sbt)

Links from the video:
Monocle: https://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: https://rockthejvm.com/blog

-------------------------------------------------------------------------
Home: https://rockthejvm.com
-------------------------------------------------------------------------

Комментарии

Информация по комментариям в разработке