PPrism

object PPrism extends PrismInstances
Companion
class
Source
Prism.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[S, T, A, B](_getOrModify: S => Either[T, A])(_reverseGet: B => T): PPrism[S, T, A, B]

create a PPrism using the canonical functions: getOrModify and reverseGet

create a PPrism using the canonical functions: getOrModify and reverseGet

Source
Prism.scala

Deprecated methods

@deprecated("use PIso.id", since = "3.0.0-M2")
def id[S, T]: PPrism[S, T, S, T]
Deprecated
[Since version 3.0.0-M2]
Source
Prism.scala

Implicits

Implicits

implicit def pPrismSyntax[S, T, A, B](self: PPrism[S, T, A, B]): PPrismSyntax[S, T, A, B]
implicit def prismSyntax[S, A](self: Prism[S, A]): PrismSyntax[S, A]

Inherited implicits

implicit val prismCategory: Category[Prism]
Inherited from
PrismInstances
Source
Prism.scala