smithy4s.optics

package smithy4s.optics

Members list

Type members

Classlikes

trait Lens[S, A] extends Optional[S, A]

Lens implementation which can be used to abstract over accessing/updating a member of a product type

Lens implementation which can be used to abstract over accessing/updating a member of a product type

Attributes

Companion
object
Supertypes
trait Optional[S, A]
class Object
trait Matchable
class Any
Self type
Lens[S, A]
object Lens

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Lens.type
trait Optional[S, A]

Optional can be seen as the weak intersection between a Lens and a Prism. It contains the same replace function as a Lens and the same project function of a Prism.

Optional can be seen as the weak intersection between a Lens and a Prism. It contains the same replace function as a Lens and the same project function of a Prism.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Lens[S, A]
trait Prism[S, A]
Self type
Optional[S, A]
trait Prism[S, A] extends Optional[S, A]

Lens implementation which can be used to abstract over accessing/updating a member of a coproduct type

Lens implementation which can be used to abstract over accessing/updating a member of a coproduct type

Attributes

Companion
object
Supertypes
trait Optional[S, A]
class Object
trait Matchable
class Any
Self type
Prism[S, A]
object Prism

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Prism.type