package ocaml-solo5-cross-aarch64

  1. Overview
  2. Docs
On This Page
  1. The unit type
OCaml cross-compiler to the freestanding 64-bit ARM Solo5 backend

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v1.2.2.tar.gz
sha512=7a6a0e2c1c9b2b64b87eb558e36365a0d142933d406efe125bb52ba29d2d570980aec98328e93527548ef16a3e9d4142380b86d1391fed0419cd446a1b101ac1

doc/stdlib/Stdlib/Unit/index.html

Module Stdlib.UnitSource

Unit values.

  • since 4.08

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 : t -> t -> bool

equal u1 u2 is true.

Sourceval compare : t -> t -> int

compare u1 u2 is 0.

Sourceval to_string : t -> string

to_string b is "()".