Wrapl, The Programming Language
Home
About
Features
Status
Contact
Documentation
Tutorial
Reference
Syntax
Expressions
Sample
Libraries
Download
Source
Binaries
Links
Other Languages
Development Tools
Libraries
Discuss
Mailing List
Forum
Search
Libraries
Std
.
Array
Types
T
A fixed length array of objects
Functions
Alloc
(
length
@
Std.Integer.SmallT
)
:
T
creates a new array with length elements, all initialized to
NIL
New
(
values...
@
Std.Object.T
)
:
T
creates a new array with
values
Methods
:
"[]"
(
array
@
T
,
index
@
Std.Integer.SmallT
)
:
ANY
Returns the
index
th
element of
array
. Indexing begins at
1
.
:apply
(
_
@
Std.Function.T
,
_
@
T
)
:apply
(
_
@
T
,
_
@
Std.Function.T
)
:length
(
_
@
T
)
:values
(
_
@
T
)
Array
Types
Functions
Methods