@implicitNotFound("Cannot find an implicit Prism[${A}, ${B}]. Write an instance manually, or check whether ${B} is a subtype of ${A} if you want the library to provide one for you automatically.") final case class Prism[A, B](tryGet: A => Option[B], inject: B => A)
Selects a branch of a coproduct type.
Selects a branch of a coproduct type.
- Companion
- object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any