final case class PrismSyntax[S, A](self: Prism[S, A]) extends AnyVal with Product with Serializable
- Source
- Prism.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PrismSyntax
- 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]): Optional[S, A1]
- 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 - def each[C](implicit evEach: Each[A, C]): Traversal[S, C]
- 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.
- def filterIndex[I, A1](predicate: (I) => Boolean)(implicit ev: FilterIndex[A, I, A1]): Traversal[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]]): Prism[S, A1]