Module C.Monad

Abstraction of the IO monad used by the worker.

type 'a t

The monad type.

val let* : 'a t -> ('a -> 'b t) -> 'b t

Equivalent to bind m f function, in infix notation.

val return : 'a -> 'a t

The monad's return function.

val sleep : GS.span -> unit t

sleep span will block for the amount of time specified by span.