Lens

smithy4s.optics.Lens
See theLens companion trait
object Lens

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Lens.type

Members list

Value members

Concrete methods

def apply[S, A](_get: S => A)(_replace: A => S => S): Lens[S, A]

Construct a new Lens by providing functions for getting A from S and updating S given a new A.

Construct a new Lens by providing functions for getting A from S and updating S given a new A.

Attributes