IORef

sealed abstract
class IORef[A]

A mutable reference in the IO monad. Note that unsafePerformIO will allow leaking such a reference out of the monad, but any operations on a leaked reference are still monadic.

Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def mod(f: A => A): IO[A]
def read: IO[A]
def write(a: => A): IO[Unit]

Abstract fields