[clean-list] Array indexing in Clean (or: Das Wort zum Sonntag)

RT Happe rthappe@mathematik.uni-freiburg.de
Sun, 2 Sep 2001 17:31:14 +0200 (CEST)


Siegfried Gonzi wrote:
> The Clean book writes that the access-time of arrays are
> in constant time. I mean that this is only valid for one
> dimension, respectively.

According to the language report R1.3, Clean doesn't directly support
arrays with several dimensions, Clean arrays *are* linear, and matrices
are (or can be defined as) arrays of arrays.  Cf. sections

    3.4.8 Creating Arrays ...
    4.1.5 Array Types

rthappe