final case class FoldSyntax[S, A](self: Fold[S, A]) extends AnyVal with Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- FoldSyntax
- Serializable
- Product
- Equals
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def at[I, A1](i: I)(implicit evAt: At[A, I, A1]): Fold[S, A1]
- def each[C](implicit evEach: Each[A, C]): Fold[S, C]
- def filter(predicate: (A) => Boolean): Fold[S, A]
Select all the elements which satisfies the predicate.
Select all the elements which satisfies the predicate. This combinator can break the fusion property see Optional.filter for more details.
- def filterIndex[I, A1](predicate: (I) => Boolean)(implicit ev: FilterIndex[A, I, A1]): Fold[S, A1]
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def withDefault[A1](defaultValue: A1)(implicit evOpt: =:=[A, Option[A1]]): Fold[S, A1]
Deprecated Value Members
- def ^<->[B, C, D](other: PIso[A, B, C, D]): Fold[S, C]
alias to composeIso
alias to composeIso
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-M1) use andThen
- def ^<-?[B, C, D](other: PPrism[A, B, C, D]): Fold[S, C]
alias to composePrism
alias to composePrism
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-M1) use andThen
- def ^|->[B, C, D](other: PLens[A, B, C, D]): Fold[S, C]
alias to composeLens
alias to composeLens
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-M1) use andThen
- def ^|->>[B, C, D](other: PTraversal[A, B, C, D]): Fold[S, C]
alias to composeTraversal
alias to composeTraversal
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-M1) use andThen
- def ^|-?[B, C, D](other: POptional[A, B, C, D]): Fold[S, C]
alias to composeOptional
alias to composeOptional
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-M1) use andThen
- def composeFold[C](other: Fold[A, C]): Fold[S, C]
- def composeGetter[C](other: Getter[A, C]): Fold[S, C]
- def composeIso[B, C, D](other: PIso[A, B, C, D]): Fold[S, C]
- def composeLens[B, C, D](other: PLens[A, B, C, D]): Fold[S, C]
- def composeOptional[B, C, D](other: POptional[A, B, C, D]): Fold[S, C]
- def composePrism[B, C, D](other: PPrism[A, B, C, D]): Fold[S, C]
- def composeTraversal[B, C, D](other: PTraversal[A, B, C, D]): Fold[S, C]
compose a Fold with a PTraversal
compose a Fold with a PTraversal
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-M1) use andThen
- def index[I, A1](i: I, evIndex: Index[A, I, A1]): Fold[S, A1]
- Annotations
- @deprecated
- Deprecated
(Since version 3.1.0) Preserved for bincompat