ppx_deriving.runtime
Ppx_deriving_runtime.Unit
Unit values.
ppx_deriving.api
ppx_deriving_create
ppx_deriving_enum
ppx_deriving_eq
ppx_deriving_fold
ppx_deriving_iter
ppx_deriving_make
ppx_deriving_map
ppx_deriving_ord
ppx_deriving_show
ppx_deriving_std
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 equal : t -> t -> bool
equal u1 u2 is true.
equal u1 u2
true
val compare : t -> t -> int
compare u1 u2 is 0.
compare u1 u2
0
val to_string : t -> string
to_string b is "()".
to_string b
"()"