The unit type
type t = unit =
| (())
The unit type.
The constructor
()
is included here so that it has a path, but it is not intended to be used in user-defined data types.
val to_string : t -> string
to_string b
is"()"
.
Stdlib.Unit
type t = unit =
| (()) | The unit type. The constructor |
val to_string : t -> string
to_string b
is "()"
.