jon.recoil.org

Module Stdlib.UnitSource

Unit values.

The unit type

Sourcetype t = unit =
  1. | ()

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.

Sourceval equal : Stdlib.Unit.t -> Stdlib.Unit.t -> bool @@ portable

equal u1 u2 is true.

Sourceval compare : Stdlib.Unit.t -> Stdlib.Unit.t -> int @@ portable

compare u1 u2 is 0.

Sourceval to_string : Stdlib.Unit.t -> string @@ portable

to_string b is "()".