GPrism

object GPrism
class Object
trait Matchable
class Any
GPrism.type

Value members

Concrete methods

inline def apply[S, A <: S]: Prism[S, A]

generate a Prism for a sum type S and a subtype A

generate a Prism for a sum type S and a subtype A