Provides Scala macros for generating optics (lenses, prisms, etc.) for case classes in the Monocle library.
<dependency>
<groupId>com.github.julien-truffaut</groupId>
<artifactId>monocle-macro_2.12</artifactId>
<version>2.1.0</version>
</dependency>No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to generate a lens for a case class field using GenLens macro.
Use monocle-macro_2.13 or monocle-macro3 for newer Scala versions.
No dependency data recorded yet.