Prism
object Prism
Value members
Concrete methods
create a polymorphic Prism from a matcher function that produces an Either and a review function
create a polymorphic Prism from a matcher function that produces an Either and a review function
the matcher function returns an Either to allow for type-changing prisms in the case where the input does not match.
final def nearly[A](a: A)(predicate: A => Boolean)(implicit ev: Alternative[Option]): Prism[A, Unit]