Unit - Unit values.
Contents
Documentation
Module Unit
: sigend
Unit values.
Since 4.08
Theunittypetypet = 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.
valequal : t->t->boolequalu1u2 is true .
valcompare : t->t->intcompareu1u2 is 0 .
valto_string : t->stringto_stringb is "()" .
OCamldoc 2025-06-12 Unit(3o)
Module
Module Unit
Name
Unit - Unit values.
