PrismSyntax

final case class PrismSyntax[S, A](self: Prism[S, A]) extends AnyVal
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def at[I, A1](i: I)(evAt: At[A, I, A1]): Optional[S, A1]
def below[F[_]](F: Traverse[F]): Prism[F[S], F[A]]

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

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

Source
Prism.scala
def each[C](evEach: Each[A, C]): Traversal[S, C]
def filter(predicate: A => Boolean): Optional[S, A]

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.

Source
Prism.scala
def filterIndex[I, A1](predicate: I => Boolean)(ev: FilterIndex[A, I, A1]): Traversal[S, A1]
def index[I, A1](i: I)(evIndex: Index[A, I, A1]): Optional[S, A1]
def withDefault[A1](defaultValue: A1)(evOpt: A =:= Option[A1]): Prism[S, A1]

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product