list<T>(array)
create :: list.T(a : array.T)
Creates a new list of the specified type T from an array of the same type
#import Builtin.List;
Contains the list data type
create :: list.T(a : array.T)
Creates a new list of the specified type T from an array of the same type
A dynamically allocated list structure
size :: uint32()
Returns the number of elements in the list
An integer representing the number of elements in the list
append :: ref T(val : T)
Append an element to the end of the list like:
list.append(element)
The element that was just added
at :: ref T(i : int)
Get an element of the list at the given index
The element that was just added