module Unit: Extlib.ExtUnit.Unit
Operations on unit
.typet =
unit
()
.val string_of : t -> string
Returns "()"
.
val of_string : string -> t
Accepts "()"
. Raises Invalid_argument "unit_of_string"
if the
given string is not "()"
.
val compare : t -> t -> int
Always returns 0.
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val print : 'a Extlib.InnerIO.output -> t -> unit