Lens

org.encalmo.lens.Lens
See theLens companion object
trait Lens[R, V]

Lens typeclass provides set of functions to retrieve and update potentially deeply-nested property of an object.

Attributes

Companion
object
Experimental
true
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class AdjustableLens[R, T, V]
class FixedLens[R, T, V]

Members list

Value members

Abstract methods

def get(root: R): V
def set(root: R)(value: V): R
def update(root: R, update: V => V): R