Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val stdin : in_file
val stdout : out_file
val stderr : out_file
module M : Module_types.MONAD
include Module_types.MONAD
val return : 'a -> 'a t
return a
makes a monadic container containing the value a
.
m >>= f
extracts the value a
from the monadic container m
and returns f a
.
f >=> g
composition of the two monadic functions f
and g
.
f >=> g
is equivalent to fun a -> f a >>= g
.
map f m
maps the values in the monadic container m
with the function f
.
val exit : int -> 'a t
val execute : unit t -> unit
val command_line : string array t
val current_working_directory : string t
val read_directory : string -> string array option t
module Read (W : Module_types.WRITABLE) : sig ... end
module Write (R : Module_types.READABLE) : sig ... end