AppliedFoldSyntax

monocle.syntax.AppliedFoldSyntax
final case class AppliedFoldSyntax[S, A](self: AppliedFold[S, A]) extends AnyVal

Attributes

Source:
AppliedFold.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def at[I, A1](i: I)(implicit evAt: At[A, i.type, A1]): AppliedFold[S, A1]

Attributes

Source:
AppliedFold.scala
def each[C](implicit evEach: Each[A, C]): AppliedFold[S, C]

Attributes

Source:
AppliedFold.scala
def filter(predicate: A => Boolean): AppliedFold[S, A]

Select all the elements which satisfies the predicate. This combinator can break the fusion property see Optional.filter for more details.

Select all the elements which satisfies the predicate. This combinator can break the fusion property see Optional.filter for more details.

Attributes

Source:
AppliedFold.scala
def filterIndex[I, A1](predicate: I => Boolean)(implicit ev: FilterIndex[A, I, A1]): AppliedFold[S, A1]

Attributes

Source:
AppliedFold.scala
def index[I, A1](i: I)(implicit evIndex: Index[A, I, A1]): AppliedFold[S, A1]

Attributes

Source:
AppliedFold.scala
def withDefault[A1](defaultValue: A1)(implicit evOpt: A =:= Option[A1]): AppliedFold[S, A1]

Attributes

Source:
AppliedFold.scala

Deprecated methods

def ^<->[B, C, D](other: PIso[A, B, C, D]): AppliedFold[S, C]

alias to composeIso

alias to composeIso

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedFold.scala
def ^<-?[B, C, D](other: PPrism[A, B, C, D]): AppliedFold[S, C]

alias to composePrism

alias to composePrism

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedFold.scala
def ^|->[B, C, D](other: PLens[A, B, C, D]): AppliedFold[S, C]

alias to composeLens

alias to composeLens

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedFold.scala
def ^|->>[B, C, D](other: PTraversal[A, B, C, D]): AppliedFold[S, C]

alias to composeTraversal

alias to composeTraversal

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedFold.scala
def ^|-?[B, C, D](other: POptional[A, B, C, D]): AppliedFold[S, C]

alias to composeOptional

alias to composeOptional

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedFold.scala
def composeFold[C](other: Fold[A, C]): AppliedFold[S, C]

compose a Fold with a Fold

compose a Fold with a Fold

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedFold.scala
def composeGetter[C](other: Getter[A, C]): AppliedFold[S, C]

compose a Fold with a Getter

compose a Fold with a Getter

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedFold.scala
def composeIso[B, C, D](other: PIso[A, B, C, D]): AppliedFold[S, C]

compose a Fold with a PIso

compose a Fold with a PIso

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedFold.scala
def composeLens[B, C, D](other: PLens[A, B, C, D]): AppliedFold[S, C]

compose a Fold with a PLens

compose a Fold with a PLens

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedFold.scala
def composeOptional[B, C, D](other: POptional[A, B, C, D]): AppliedFold[S, C]

compose a Fold with a POptional

compose a Fold with a POptional

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedFold.scala
def composePrism[B, C, D](other: PPrism[A, B, C, D]): AppliedFold[S, C]

compose a Fold with a PPrism

compose a Fold with a PPrism

Attributes

Deprecated
[Since version 3.0.0-M1]
Source:
AppliedFold.scala
def composeTraversal[B, C, D](other: PTraversal[A, B, C, D]): AppliedFold[S, C]

compose a Fold with a PTraversal

compose a Fold with a PTraversal

Attributes

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

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product