Previous Home Contents Next

Chapter 13: Language-defined types

The Aldor language defines only those types which are required in specifying what the language does. Most of the types which are usually found in high-level programming languages are delegated to libraries in Aldor. This allows the library designer maximum flexibility in dressing the basic types with desired operations.

The language defined types are listed below. Here, n, m >= 0.

These types are described in the sections which follow.

13.1 : Type

13.2 : (S1,..,Sn)->(T1,..,Tm)

13.3 : Tuple T

13.4 : Cross(T1,...,Tn)

13.5 : Enumeration(x1,...,xn)

13.6 : Record(T1,...,Tn)

13.7 : TrailingArray((U1,...,Un),(V1,...,Vm))

The domain exports the following functions:
The following are equivalent to the exports of Record(U):

13.8 : Union(T1,...,Tn)

13.9 : Category

13.10 : Join(C1,...,Cn)

13.11 : Boolean

13.12 : Literal

13.13 : Generator T

13.14 : Exit

13.15 : Foreign I

13.16 : Machine