Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Blocking IO with a new thread for each spawn
.
val return : 'a -> 'a t
val failwith : string -> 'a t
type in_channel = in_channel
type out_channel = out_channel
val stdin : env -> in_channel
val stdout : env -> out_channel
val read : in_channel -> bytes -> int -> int -> unit t
val read_line : in_channel -> string t
val write : out_channel -> bytes -> int -> int -> unit t
val write_string : out_channel -> string -> unit t
val fail : exn -> unit t
val n_bytes_written : int Atomic.t
val n_bytes_read : int Atomic.t