Lens

monocle.Lens$
object Lens

Attributes

Source:
Lens.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Lens.type

Members list

Concise view

Value members

Concrete methods

def apply[S, A](get: S => A)(replace: A => S => S): Lens[S, A]

alias for PLens apply with a monomorphic replace function

alias for PLens apply with a monomorphic replace function

Attributes

Source:
Lens.scala
def codiagonal[S]: Lens[Either[S, S], S]

Attributes

Source:
Lens.scala

Deprecated methods

def id[A]: Lens[A, A]

Attributes

Deprecated
[Since version 3.0.0-M2]
Source:
Lens.scala