A.1.6 Tuple TypesA.1 TypesA.1.4 Function TypesA.1.5 Array Types

A.1.5 Array Types

Synopsis

ARRAY T1 OF T2

Description

This type denotes the domain of arrays with indices of type T1 and values of type T2 (see Section Array Values for the operations supported on arrays).

Pragmatics

From the semantic point of view, this type is essentially equivalent to a unary function type. The major difference is that the system understands that, if two arrays are equal, access to these arrays at equal indices yields equal results (the system does not understand the corresponding rule for function applications).


Wolfgang Schreiner

A.1.6 Tuple TypesA.1 TypesA.1.4 Function TypesA.1.5 Array Types