object Prism
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Prism
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
apply[S, A](viewOrModify: (S) ⇒ Either[S, A])(review: (A) ⇒ S): Prism[S, A]
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
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
fromPartial[S, A](preview: PartialFunction[S, A])(review: (A) ⇒ S): Prism[S, A]
create a monomorphic Prism, using a partial function and review functions
-
final
def
fromPreview[S, A](preview: (S) ⇒ Option[A])(review: (A) ⇒ S): Prism[S, A]
create a monomorphic Prism, using preview and review functions
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
id[S]: Prism[S, S]
monomorphic identity of a Prism
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
nearly[A](a: A)(predicate: (A) ⇒ Boolean)(implicit ev: Alternative[Option]): Prism[A, Unit]
create a monomorphic Prism that checks whether the focus matches a predicate
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
only[A](a: A)(implicit arg0: Eq[A], ev: Alternative[Option]): Prism[A, Unit]
create a monomorphic Prism that checks whether the focus matches a single value
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()