A finite sequence of elements.
interface list[combivariant value element]
immutable list[element] skip(nonnegative count) pure
immutable list[element] slice(nonnegative begin, nonnegative end) pure
subtypes collection[element]
Read the list's element for the specified index.
implicit readonly reference[element] get(nonnegative index) pure
not yet implemented implicit writeonly reference[element] set(nonnegative index) writeonly pure
not yet implemented void prepend all(readonly list[element] the list)
not yet implemented void insert(nonnegative index, element the element)
not yet implemented void insert all(nonnegative index, readonly list[element] the list)
not yet implemented element remove at(nonnegative index)
Skips over the specified count of elements and returns an immutable slice
that begins with count and ends with the end of this list.
Returns an immutable sublist with the given the starting and ending indices.
The starting index is inclusive, the ending is exclusive.
not yet implemented readonly list[element] reverse() pure
Returns an immutable list with the order of the elements reversed.
immutable list[element] reverse() immutable pure
Check whether the list has at least one element that satisfies the predicate.
boolean has(predicate[element] the predicate) pure