This section describes the kinds of values that are manipulated by Caml Light programs. Implementations may support a wider range of integer values. Characters Character values are represented as 8-bit integers between 0 and 255. The interpretation of character codes between 128 and 255 is implementation-dependent.
Character strings String values are finite sequences of characters.
Implementations may support longer strings. Records Record values are labeled tuples of values. Arrays Arrays are finite, variable-sized sequences of values of the same type. Variant values Variant values are either a constant constructor, or a pair of a non-constant constructor and a value. Functions Functional values are mappings from values to values.