Home
Features
Contact
News
Documentation
Tutorial
Reference
Syntax
Expressions
Sample
Libraries
Tools
Internals
Download
Source
Binaries
Links
Other Languages
Development Tools
Libraries
Wrapl, The Programming Language
Libraries
Std
Object
Object
Types
T
the base type of all types
NonCallableMessageT
Constants
Equal
:
T
Result of comparison.
Greater
:
T
Result of comparison.
Less
:
T
Result of comparison.
Nil
:
T
Functions
Compare
(
a
@
T
,
b
@
T
)
:
T
Compares
a
and
b
and return either
Std.Object.Less
,
Std.Object.Equal
or
Std.Object.Greater
.
Create
(
type
@
Std.Type.T
,
values...
)
:
T
Creates a new object of type
type
. If present, fields are initialized from
values
.
Field
(
)
Hash
(
a
@
T
)
:
Std.Integer.SmallT
Returns a hash for
a
.
IsEqual
(
a
@
T
,
b
@
T
)
:
T
Returns
b
if
a
==
b
IsNotEq
(
a
@
T
,
b
@
T
)
:
T
Returns
b
if
a
~==
b
New
(
object
@
T
)
:
T
creates a new object of the same type as
object
RegisterFinalizer
(
object
@
T
,
finalizer
@
Std.Function.T
,
data
@
ANY
=
NIL
)
Attaches a finalizer to
object
. I.e.
finalizer
(
object
,
data
)
should be called at some stage after
object
becomes unreachable.