Skip to content
0:00 / 0:00

#optics#lenses#prisms

Lenses, Prisms and Optics in Scala | Rock the JVM

Rock the JVM

27K subscribers • 59 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Linked in the descriptionoptics-dev/Monocle

Intermediate. Assumes working knowledge.

5.4K views6 years ago1 recommendation

Programming languagesSoftware designScalaFunctional programming

A tutorial on using the Monocle library to inspect and modify deeply nested data structures in Scala.

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: linkedin.com/company/rockthejvm Twitter: twitter.com/rockthejvm Blog: rockthejvm.com/blog ------------------------------------------------------------------------- Home: rockthejvm.com -------------------------------------------------------------------------

Why it's here

1 person recommends this

u/danielciocirlanin r/scala • Recommends

Lenses, Prisms and Optics in Scala