Class

org.specs2.control.eff

Unions

Related Doc: package eff

Permalink

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
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Unions
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Unions(first: Union[R, A], rest: List[Union[R, Any]])

    Permalink

Type Members

  1. type X = A

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def append[B](others: Unions[R, B]): Unions[R, A]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. def continueWith[B](continuation: Arrs[R, List[Any], B]): Arrs[R, A, B]

    Permalink

    create a continuation which will apply the 'map' function if the first effect of this Unions object is interpreted

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def extract[M[_]](implicit m: /=[M, R]): CollectedUnions[M, R, R]

    Permalink

    collect all the M effects and create a continuation for other effects in the same stack

  10. val first: Union[R, A]

    Permalink
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  12. def into[S](f: UnionInto[R, S]): Unions[S, A]

    Permalink
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  17. def project[M[_], U](implicit m: Aux[M, R, U]): CollectedUnions[M, R, U]

    Permalink

    collect all the M effects and create a continuation for other effects in a stack containing no more M effects

  18. val rest: List[Union[R, Any]]

    Permalink
  19. def size: Int

    Permalink
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def transform[M[_]](nat: ~>[M, M])(implicit m: /=[M, R]): Unions[R, A]

    Permalink
  22. def transformInto[M[_], N[_], U, S](nat: ~>[M, N])(implicit m: Aux[M, R, U], n: Aux[N, S, U]): Unions[S, A]

    Permalink
  23. def unions: List[Union[R, Any]]

    Permalink
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped