W Wrapl, The Programming Language

Libraries Agg.IntegerTable

Types

T

A table using Std.Integer.SmallT as keys. Note that instances of T do not support deletion of entries.

Functions

New()

Methods

:"[]"(table @ T, key @ Std.Integer.SmallT) : ANY

Returns value if (key, Std$Object_t) is an entry in table, fails otherwise.

:insert(table @ T, key @ Std.Integer.SmallT, value) : T

Inserts a new entry (key, Std$Object_t) into table. Returns table.

:size(table @ T) : Std.Integer.SmallT

Returns the number of entries in table