W Wrapl, The Programming Language

Libraries Std.Array

Types

T

A fixed length array of objects

Functions

Alloc(length @ Std.Integer.SmallT) : T

creates a new array with length elements, all initialized to NIL

New(values... @ Std.Object.T) : T

creates a new array with values

Methods

:"[]"(array @ T, index @ Std.Integer.SmallT) : ANY

Returns the indexth element of array. Indexing begins at 1.

:apply(_ @ Std.Function.T, _ @ T)

:apply(_ @ T, _ @ Std.Function.T)

:length(_ @ T)

:values(_ @ T)