Object/Class

scalaz.effect

IO

Related Docs: class IO | package effect

Permalink

object IO extends IOInstances

Source
IO.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IO
  2. IOInstances
  3. IOInstances0
  4. IOInstances1
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type RunInBase[M[_], Base[_]] = Forall[[α](M[α]) ⇒ Base[M[α]]]

    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. implicit def IOMonoid[A](implicit A: Monoid[A]): Monoid[IO[A]]

    Permalink
    Definition Classes
    IOInstances0
  5. implicit def IOSemigroup[A](implicit A: Semigroup[A]): Semigroup[IO[A]]

    Permalink
    Definition Classes
    IOInstances1
  6. implicit def IOToST[A](io: IO[A]): ST[IvoryTower, A]

    Permalink

    An IO action is an ST action.

  7. def apply[A](a: ⇒ A): IO[A]

    Permalink
  8. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def controlIO[M[_], A](f: (RunInBase[M, IO]) ⇒ IO[M[A]])(implicit M: MonadControlIO[M]): M[A]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def getChar: IO[Char]

    Permalink

    Reads a character from standard input.

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. implicit val iOLiftIO: LiftIO[IO]

    Permalink
    Definition Classes
    IOInstances1
  18. def idLiftControl[M[_], A](f: (RunInBase[M, M]) ⇒ M[A])(implicit m: Monad[M]): M[A]

    Permalink
  19. def io[A](f: (Tower[IvoryTower]) ⇒ Free.Trampoline[(Tower[IvoryTower], A)]): IO[A]

    Permalink

    Construct an IO action from a world-transition function.

  20. implicit val ioCatchable: Catchable[IO]

    Permalink
    Definition Classes
    IOInstances
  21. implicit val ioMonad: Monad[IO] with BindRec[IO]

    Permalink
    Definition Classes
    IOInstances1
  22. implicit val ioMonadCatchIO: MonadCatchIO[IO]

    Permalink
    Definition Classes
    IOInstances
  23. implicit val ioMonadIO: MonadIO[IO]

    Permalink
    Definition Classes
    IOInstances0
  24. val ioUnit: IO[Unit]

    Permalink

    An IO action that does nothing.

  25. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  27. def newIORef[A](a: ⇒ A): IO[IORef[A]]

    Permalink
  28. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  30. def onExit[S, P[_]](finalizer: IO[Unit])(implicit arg0: MonadIO[P]): RegionT[S, P, FinalizerHandle[[γ]RegionT[S, P, γ]]]

    Permalink

    Register a finalizer in the current region.

    Register a finalizer in the current region. When the region terminates, all registered finalizers will be performed if they're not duplicated to a parent region.

  31. def put[A](a: A)(implicit S: Show[A]): IO[Unit]

    Permalink
  32. def putChar(c: Char): IO[Unit]

    Permalink

    Writes a character to standard output.

  33. def putLn[A](a: A)(implicit S: Show[A]): IO[Unit]

    Permalink
  34. def putStr(s: String): IO[Unit]

    Permalink

    Writes a string to standard output.

  35. def putStrLn(s: String): IO[Unit]

    Permalink

    Writes a string to standard output, followed by a newline.

  36. def readLn: IO[String]

    Permalink

    Reads a line of standard input.

  37. def runRegionT[P[_], A](r: Forall[[α]RegionT[α, P, A]])(implicit arg0: MonadControlIO[P]): P[A]

    Permalink

    Execute a region inside its parent region P.

    Execute a region inside its parent region P. All resources which have been opened in the given region and which haven't been duplicated using "dup", will be closed on exit from this function whether by normal termination or by raising an exception. Also all resources which have been duplicated to this region from a child region are closed on exit if they haven't been duplicated themselves. The Forall quantifier prevents resources from being returned by this function.

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

    Permalink
    Definition Classes
    AnyRef
  39. def tailrecM[A, B](f: (A) ⇒ IO[\/[A, B]])(a: A): IO[B]

    Permalink
  40. def throwIO[A](e: Throwable): IO[A]

    Permalink

    Throw the given error in the IO monad.

  41. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  42. final def wait(): Unit

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

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

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

Inherited from IOInstances

Inherited from IOInstances0

Inherited from IOInstances1

Inherited from AnyRef

Inherited from Any

Ungrouped