case class Unions[R, A](first: Union[R, A], rest: List[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
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Unions
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
continueWith[B](continuation: Arrs[R, List[Any], B]): Arrs[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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val first: Union[R, A]
-
final
def
getClass(): Class[_]
- 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
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: List[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: List[Union[R, 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
- @native() @throws( ... )