Trait/Object

eu.joaocosta.minart.runtime.pure

RIO

Related Docs: object RIO | package pure

Permalink

sealed trait RIO[-R, +A] extends AnyRef

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

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RIO
  2. AnyRef
  3. 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]

    Permalink

    Maps the result of this operation.

  2. abstract def run(resource: R): A

    Permalink

    Runs this operation.

Concrete 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 andFinally[RR <: R, B](that: RIO[RR, B]): RIO[RR, A]

    Permalink

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

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

    Permalink

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

  6. def as[B](x: B): RIO[R, B]

    Permalink

    Changes the result of this operation to another value.

  7. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @throws( ... )
  9. def contramap[RR](f: (RR) ⇒ R): RIO[RR, A]

    Permalink

    Transforms the resource required by this operation.

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

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def flatMap[RR <: R, B](f: (A) ⇒ RIO[RR, B]): RIO[RR, B]

    Permalink

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

  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  19. def provide(res: R): RIO[Any, A]

    Permalink

    Provides the required resource to this operation.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. lazy val unit: RIO[R, Unit]

    Permalink

    Changes the result of this operation unit.

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def zip[RR <: R, B](that: RIO[RR, B]): RIO[RR, (A, B)]

    Permalink

    Combines two operations by combining their results into a tuple.

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

    Permalink

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

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 AnyRef

Inherited from Any

Ungrouped