AppliedPSetter

monocle.syntax.AppliedPSetter
See theAppliedPSetter companion object
trait AppliedPSetter[S, T, A, B]

Attributes

Companion:
object
Source:
AppliedPSetter.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AppliedPTraversal[S, T, A, B]
trait AppliedPOptional[S, T, A, B]
trait AppliedPLens[S, T, A, B]
trait AppliedPIso[S, T, A, B]
trait AppliedPPrism[S, T, A, B]

Members list

Concise view

Value members

Abstract methods

def optic: PSetter[S, T, A, B]

Attributes

Source:
AppliedPSetter.scala
def value: S

Attributes

Source:
AppliedPSetter.scala

Concrete methods

def andThen[C, D](other: PSetter[A, B, C, D]): AppliedPSetter[S, T, C, D]

Attributes

Source:
AppliedPSetter.scala
def modify(f: A => B): T

Attributes

Source:
AppliedPSetter.scala
def replace(b: B): T

Attributes

Source:
AppliedPSetter.scala
def some[A1, B1](implicit ev1: A =:= Option[A1], ev2: B =:= Option[B1]): AppliedPSetter[S, T, A1, B1]

Attributes

Source:
AppliedPSetter.scala

Deprecated methods

def ^<->[C, D](other: PIso[A, B, C, D]): AppliedPSetter[S, T, C, D]
Implicitly added by appliedPSetterSyntax

alias to composeIso

alias to composeIso

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedPSetter.scala
def ^<-?[C, D](other: PPrism[A, B, C, D]): AppliedPSetter[S, T, C, D]
Implicitly added by appliedPSetterSyntax

alias to composePrism

alias to composePrism

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedPSetter.scala
def ^|->[C, D](other: PLens[A, B, C, D]): AppliedPSetter[S, T, C, D]
Implicitly added by appliedPSetterSyntax

alias to composeLens

alias to composeLens

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedPSetter.scala
def ^|->>[C, D](other: PTraversal[A, B, C, D]): AppliedPSetter[S, T, C, D]
Implicitly added by appliedPSetterSyntax

alias to composeTraversal

alias to composeTraversal

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedPSetter.scala
def ^|-?[C, D](other: POptional[A, B, C, D]): AppliedPSetter[S, T, C, D]
Implicitly added by appliedPSetterSyntax

alias to composeOptional

alias to composeOptional

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedPSetter.scala
def composeIso[C, D](other: PIso[A, B, C, D]): AppliedPSetter[S, T, C, D]
Implicitly added by appliedPSetterSyntax

compose a PSetter with a PIso

compose a PSetter with a PIso

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedPSetter.scala
def composeLens[C, D](other: PLens[A, B, C, D]): AppliedPSetter[S, T, C, D]
Implicitly added by appliedPSetterSyntax

compose a PSetter with a PLens

compose a PSetter with a PLens

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedPSetter.scala
def composeOptional[C, D](other: POptional[A, B, C, D]): AppliedPSetter[S, T, C, D]
Implicitly added by appliedPSetterSyntax

compose a PSetter with a POptional

compose a PSetter with a POptional

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedPSetter.scala
def composePrism[C, D](other: PPrism[A, B, C, D]): AppliedPSetter[S, T, C, D]
Implicitly added by appliedPSetterSyntax

compose a PSetter with a PPrism

compose a PSetter with a PPrism

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedPSetter.scala
def composeSetter[C, D](other: PSetter[A, B, C, D]): AppliedPSetter[S, T, C, D]
Implicitly added by appliedPSetterSyntax

compose a PSetter with a PSetter

compose a PSetter with a PSetter

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedPSetter.scala
def composeTraversal[C, D](other: PTraversal[A, B, C, D]): AppliedPSetter[S, T, C, D]
Implicitly added by appliedPSetterSyntax

compose a PSetter with a PTraversal

compose a PSetter with a PTraversal

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedPSetter.scala
def set(b: B): T

alias to replace

alias to replace

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedPSetter.scala

Inherited methods

Implicitly added by appliedPSetterSyntax

Attributes

Inherited from:
Product
Implicitly added by appliedPSetterSyntax

Attributes

Inherited from:
Product