Registry / utility / monocle-core-2-11

monocle-core-2-11

JSON →
library1.5.0javamavenunverified

A Scala library providing optics (lenses, prisms, etc.) for immutable data structures.

<dependency> <groupId>com.github.julien-truffaut</groupId> <artifactId>monocle-core_2.11</artifactId> <version>1.5.0</version> </dependency>
INSTALL
IMPORT
SIG · MONOCLE-CORE-2-11
M
monocle-core-2-11
utilityjavav1.5.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.

Lens
monocle.Lens

Creates a Lens for accessing and modifying a field in an immutable object.

import monocle.Lens; public class Main { public static void main(String[] args) { Lens<Person, String> nameLens = Lens.of(Person::getName, (p, n) -> p.withName(n)); System.out.println("Lens created"); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.5.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

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