AppliedFold

monocle.syntax.AppliedFold
See theAppliedFold companion object
trait AppliedFold[S, A]

Attributes

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

Members list

Concise view

Value members

Abstract methods

def optic: Fold[S, A]

Attributes

Source:
AppliedFold.scala
def value: S

Attributes

Source:
AppliedFold.scala

Concrete methods

def all(p: A => Boolean): Boolean

Attributes

Source:
AppliedFold.scala
def andThen[B](other: Fold[A, B]): AppliedFold[S, B]

Attributes

Source:
AppliedFold.scala
def at[I, A1](i: I)(implicit evAt: At[A, i.type, A1]): AppliedFold[S, A1]
Implicitly added by appliedFoldSyntax

Attributes

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

Attributes

Source:
AppliedFold.scala
def exist(p: A => Boolean): Boolean

Attributes

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

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]
Implicitly added by appliedFoldSyntax

Attributes

Source:
AppliedFold.scala
def find(p: A => Boolean): Option[A]

Attributes

Source:
AppliedFold.scala
def foldMap[M : Monoid](f: A => M): M

Attributes

Source:
AppliedFold.scala
def getAll: List[A]

Attributes

Source:
AppliedFold.scala

Attributes

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

Attributes

Source:
AppliedFold.scala

Attributes

Source:
AppliedFold.scala

Attributes

Source:
AppliedFold.scala
def length: Int

Attributes

Source:
AppliedFold.scala

Attributes

Source:
AppliedFold.scala
def some[A1](implicit ev1: A =:= Option[A1]): AppliedFold[S, A1]

Attributes

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

Attributes

Source:
AppliedFold.scala

Deprecated methods

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

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]
Implicitly added by appliedFoldSyntax

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]
Implicitly added by appliedFoldSyntax

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]
Implicitly added by appliedFoldSyntax

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]
Implicitly added by appliedFoldSyntax

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]
Implicitly added by appliedFoldSyntax

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]
Implicitly added by appliedFoldSyntax

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]
Implicitly added by appliedFoldSyntax

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]
Implicitly added by appliedFoldSyntax

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]
Implicitly added by appliedFoldSyntax

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]
Implicitly added by appliedFoldSyntax

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]
Implicitly added by appliedFoldSyntax

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

Implicitly added by appliedFoldSyntax

Attributes

Inherited from:
Product
Implicitly added by appliedFoldSyntax

Attributes

Inherited from:
Product