Void resize(var [a] xs, Int i)
Arguments
xs: The array to resizei: The new length
Usage
Change the size of the array to i. If the array is longer than i, later items are dropped. If it is shorter, uninitialised values are pushed onto the array.
xs: The array to resizei: The new lengthChange the size of the array to i. If the array is longer than i, later items are dropped. If it is shorter, uninitialised values are pushed onto the array.