Arrays
Arrays are denoted by [N]T
, where N
is the number of elements in the array
and T
is the type of those elements (i.e., the array’s child type).
For array literals, N
may be replaced by _
to infer the size of the array.
To get the size of an array, simply access the array’s len
field.