Module Stdlib.Unit
module Unit: Unit
The unit type
typet =
unit
=
| |
() |
(* | The unit type. The constructor | *) |
val equal : t -> t -> bool
equal u1 u2
is true
.
val compare : t -> t -> int
compare u1 u2
is 0
.
val to_string : t -> string
to_string b
is "()"
.
The present documentation is copyright Institut National de Recherche en Informatique et en Automatique (INRIA). A complete version can be obtained from this page.