case class Unions[R, A](first: Union[R, A], rest: Vector[Union[R, Any]]) extends Product with Serializable
A non-empty list of Unions.
It is only partially typed, we just keep track of the type of the first object
- Source
- Unions.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Unions
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type X = A
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
- def append[B](others: Unions[R, B]): Unions[R, A]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def continueWith[B](continuation: Continuation[R, Vector[Any], B]): Continuation[R, A, B]
create a continuation which will apply the 'map' function if the first effect of this Unions object is interpreted
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def extract[M[_]](implicit m: /=[M, R]): CollectedUnions[M, R, R]
collect all the M effects and create a continuation for other effects in the same stack
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val first: Union[R, A]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def into[S](f: UnionInto[R, S]): Unions[S, A]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def project[M[_], U](implicit m: Aux[M, R, U]): CollectedUnions[M, R, U]
collect all the M effects and create a continuation for other effects in a stack containing no more M effects
- val rest: Vector[Union[R, Any]]
- def size: Int
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def transform[M[_]](nat: ~>[M, M])(implicit m: /=[M, R]): Unions[R, A]
- def transformInto[M[_], N[_], U, S](nat: ~>[M, N])(implicit m: Aux[M, R, U], n: Aux[N, S, U]): Unions[S, A]
- def unions: Vector[Union[R, Any]]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()