From 229d0d8ca88bc344bed89e46541b325c1d267996 Mon Sep 17 00:00:00 2001
From: Hans Bolinder
A functional, extendible array. The representation is - not documented and is subject to change without notice. Note that - arrays cannot be directly compared for equality.
-A functional, extendible array. The representation is + not documented and is subject to change without notice. Note that + arrays cannot be directly compared for equality.
+See also:
See also:
Fold the elements of the array using the given function and
initial accumulator value. The elements are visited in order from the
- lowest index to the highest. If
See also:
Fold the elements of the array right-to-left using the given
function and initial accumulator value. The elements are visited in
- order from the highest index to the lowest. If
See also:
Equivalent to
Equivalent to
Convert a list to an extendible array.
Convert a list to an extendible array.
See also:
Equivalent to
Equivalent to
Convert an ordered list of pairs
See also:
Get the value of entry
Get the value of entry
If the array does not have fixed size, this function will return the
- default value for any index
See also:
Returns
Returns
See also:
Map the given function onto each element of the array. The
elements are visited in order from the lowest index to the highest.
- If
See also:
See also:
Specifies the initial size of the array; this also implies
See also:
Create a new array according to the given size and options. If
-
If
If
Example:
array:new(100, {default,0})
creates a fixed-size array of size @@ -304,7 +313,7 @@ cannot be changed once the array has been created.
See also:
See also:
Reset entry
Reset entry
If
If
See also:
See also:
Change the size of the array. If
Change the size of the array. If
Set entry
Set entry
If the array does not have fixed size, and
If the array does not have fixed size, and
See also:
Get the number of entries in the array. Entries are numbered
- from 0 to
See also:
Fold the elements of the array using the given function and
initial accumulator value, skipping default-valued entries. The
elements are visited in order from the lowest index to the highest.
- If
See also:
Fold the elements of the array right-to-left using the given
function and initial accumulator value, skipping default-valued
entries. The elements are visited in order from the highest index to
- the lowest. If
See also:
Map the given function onto each element of the array, skipping
default-valued entries. The elements are visited in order from the
- lowest index to the highest. If
See also:
See also:
See also:
See also:
See also: