c

monocle

PrismSyntax

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

Source
Prism.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PrismSyntax
  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 PrismSyntax(self: Prism[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]): Optional[S, A1]
  6. def below[F[_]](implicit F: Traverse[F]): Prism[F[S], F[A]]

    lift a Prism such as it only matches if all elements of F[S] are getOrModify

  7. def each[C](implicit evEach: Each[A, C]): Traversal[S, C]
  8. def filter(predicate: (A) => Boolean): Optional[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.

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

Deprecated Value Members

  1. def index[I, A1](i: I, evIndex: Index[A, I, A1]): Optional[S, A1]
    Annotations
    @deprecated
    Deprecated

    (Since version 3.1.0) Preserved for bincompat

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyVal

Inherited from Any

Ungrouped