Class/Object

org.specs2.control.eff

Arrs

Related Docs: object Arrs | package eff

Permalink

case class Arrs[R, A, B](functions: Vector[(Any) ⇒ Eff[R, Any]]) extends (A) ⇒ Eff[R, B] with Product with Serializable

Sequence of monadic functions from A to B: A => Eff[B]

Internally it is represented as a Vector of functions:

A => Eff[R, X1]; X1 => Eff[R, X2]; X2 => Eff[R, X3]; ...; X3 => Eff[R, B]

Linear Supertypes
Serializable, Serializable, Product, Equals, (A) ⇒ Eff[R, B], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Arrs
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Function1
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Arrs(functions: Vector[(Any) ⇒ Eff[R, Any]])

    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 andThen[A](g: (Eff[R, B]) ⇒ A): (A) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def append[C](f: (B) ⇒ Eff[R, C]): Arrs[R, A, C]

    Permalink

    append a new monadic function to this list of functions such that

    append a new monadic function to this list of functions such that

    Arrs[R, A, B] => (B => Eff[R, C]) => Arrs[R, A, C]

  6. def apply(a: A): Eff[R, B]

    Permalink

    execute this monadic function

    execute this monadic function

    This method is stack-safe

    Definition Classes
    Arrs → Function1
  7. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def compose[A](g: (A) ⇒ A): (A) ⇒ Eff[R, B]

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  10. def contramap[C](f: (C) ⇒ A): Arrs[R, C, B]

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. val functions: Vector[(Any) ⇒ Eff[R, Any]]

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def map[C](f: (B) ⇒ C): Arrs[R, A, C]

    Permalink

    map the last value

  17. def mapLast[C](f: (Eff[R, B]) ⇒ Eff[R, C]): Arrs[R, A, C]

    Permalink

    map the last returned effect

  18. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    Function1 → AnyRef → Any
  23. def transform[U, M[_], N[_]](t: ~>[M, N])(implicit m: Aux[M, R, U], n: Aux[N, R, U]): Arrs[R, A, B]

    Permalink
  24. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from (A) ⇒ Eff[R, B]

Inherited from AnyRef

Inherited from Any

Ungrouped