c

monocle

FoldSyntax

final case class FoldSyntax[S, A](self: Fold[S, A]) extends AnyVal with Product with Serializable

Extension methods for Fold

Source
Fold.scala
Linear Supertypes
Serializable, Product, Equals, AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FoldSyntax
  2. Serializable
  3. Product
  4. Equals
  5. AnyVal
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new FoldSyntax(self: Fold[S, A])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def at[I, A1](i: I)(implicit evAt: At[A, I, A1]): Fold[S, A1]
  6. def each[C](implicit evEach: Each[A, C]): Fold[S, C]
  7. 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.

  8. def filterIndex[I, A1](predicate: (I) => Boolean)(implicit ev: FilterIndex[A, I, A1]): Fold[S, A1]
  9. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def productElementNames: Iterator[String]
    Definition Classes
    Product
  12. def withDefault[A1](defaultValue: A1)(implicit evOpt: =:=[A, Option[A1]]): Fold[S, A1]

Deprecated Value Members

  1. 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

  2. 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

  3. 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

  4. 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

  5. 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

  6. def composeFold[C](other: Fold[A, C]): Fold[S, C]

    compose a Fold with a Fold

    compose a Fold with a Fold

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0-M1) use andThen

  7. def composeGetter[C](other: Getter[A, C]): Fold[S, C]

    compose a Fold with a Getter

    compose a Fold with a Getter

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0-M1) use andThen

  8. def composeIso[B, C, D](other: PIso[A, B, C, D]): Fold[S, C]

    compose a Fold with a PIso

    compose a Fold with a PIso

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0-M1) use andThen

  9. def composeLens[B, C, D](other: PLens[A, B, C, D]): Fold[S, C]

    compose a Fold with a PLens

    compose a Fold with a PLens

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0-M1) use andThen

  10. def composeOptional[B, C, D](other: POptional[A, B, C, D]): Fold[S, C]

    compose a Fold with a POptional

    compose a Fold with a POptional

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0-M1) use andThen

  11. def composePrism[B, C, D](other: PPrism[A, B, C, D]): Fold[S, C]

    compose a Fold with a PPrism

    compose a Fold with a PPrism

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0-M1) use andThen

  12. 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

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyVal

Inherited from Any

Ungrouped