Registry / utility / monocle-macro-2-13

monocle-macro-2-13

JSON →
library2.1.0javamavenunverified

Macro-based optics library for Scala, providing compile-time lens generation.

<dependency> <groupId>com.github.julien-truffaut</groupId> <artifactId>monocle-macro_2.13</artifactId> <version>2.1.0</version> </dependency>
INSTALL
IMPORT
SIG · MONOCLE-MACRO-2-13
M
monocle-macro-2-13
utilityjavav2.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GenLens
monocle.macros.GenLens

Use GenLens to create optics for Scala case classes.

import monocle.macros.GenLens; // Generate lenses for case class fields at compile time
Debug
Known issues
breakingMacro-based lenses may have compatibility issues with Scala 3.
fix
Use Monocle 3.x or consider alternative optics libraries for Scala 3.
affects: 2.x
Upgrade
Version history
2.1.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
monocle-macro-2-13 — mvn dependency:get monocle-macro-2-13 · libregistry