Packages

sealed trait RIO[-R, +A] extends (R) ⇒ A

Representation of an effectful operation, based on Haskell's RIO Monad.

Linear Supertypes
(R) ⇒ A, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RIO
  2. Function1
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def map[B](f: (A) ⇒ B): RIO[R, B]

    Maps the result of this operation.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def andFinally[RR <: R, B](that: RIO[RR, B]): RIO[RR, A]

    Combines two operations by discarding the result of the second operation.

  5. final def andThen[RR <: R, B](that: RIO[RR, B]): RIO[RR, B]

    Combines two operations by discarding the result of the first operation.

  6. def andThen[A](g: (A) ⇒ A): (R) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  7. final def apply(resource: R): A

    Alias for run, so that RIO can be executed as a function.

    Alias for run, so that RIO can be executed as a function.

    Definition Classes
    RIO → Function1
  8. final def as[B](x: B): RIO[R, B]

    Changes the result of this operation to another value.

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. def compose[A](g: (A) ⇒ R): (A) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. final def contramap[RR](f: (RR) ⇒ R): RIO[RR, A]

    Transforms the resource required by this operation.

  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def flatMap[RR <: R, B](f: (A) ⇒ RIO[RR, B]): RIO[RR, B]

    Combines two operations by applying a function to the result of the first operation.

  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def provide(res: R): RIO[Any, A]

    Provides the required resource to this operation.

  24. final def run(resource: R): A

    Runs this operation.

    Runs this operation.

    Annotations
    @tailrec()
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  27. lazy val unit: RIO[R, Unit]

    Changes the result of this operation unit.

  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  31. final def zip[RR <: R, B](that: RIO[RR, B]): RIO[RR, (A, B)]

    Combines two operations by combining their results into a tuple.

  32. final def zipWith[RR <: R, B, C](that: RIO[RR, B])(f: (A, B) ⇒ C): RIO[RR, C]

    Combines two operations by combining their results with the given function.

Inherited from (R) ⇒ A

Inherited from AnyRef

Inherited from Any

Ungrouped