object Prism extends PrismLowPriority
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Prism
- PrismLowPriority
- 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](implicit prism: Prism[S, A]): Prism[S, A]
Returns the Prism for the specified types.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
implicit final
def
derive[S, A <: S](implicit tag: ClassTag[A]): Prism[S, A]
Returns a new Prism for the specified supertype and subtype.
-
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
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
implicit final
def
identity[A]: Prism[A, A]
Returns a new Prism for the specified type.
-
final
def
instance[S, A](getOption: (S) ⇒ Option[A])(reverseGet: (A) ⇒ S): Prism[S, A]
Returns a new Prism instance using the specified
getOption
andreverseGet
functions. -
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
implicit final
def
left[A, B]: Prism[Either[A, B], Left[A, B]]
Returns a new Prism from
Either[A, B]
toLeft[A, B]
. -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
implicit final
def
none[A]: Prism[Option[A], None.type]
Returns a new Prism from
Option
toNone
. -
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
partial[S, A](get: PartialFunction[S, A])(reverseGet: (A) ⇒ S): Prism[S, A]
Returns a new Prism instance using the specified
get
partial function andreverseGet
function. -
implicit final
def
right[A, B]: Prism[Either[A, B], Right[A, B]]
Returns a new Prism from
Either[A, B]
toRight[A, B]
. -
implicit final
def
some[S, A](implicit prism: Prism[S, A]): Prism[Option[S], Some[A]]
Returns a new Prism from
Option
toSome
. -
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()