Kaya 0.5.3 reference for Array::resize

List of functions and data types in Array

Void resize(var [a] xs, Int i)

Arguments

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.

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya