Bundle Core runtime library providing primitive types (Bool, Byte, Char, Int, Float, String), base collections, and system utilities. Every Objeck program links against this bundle automatically via lang.obl.
Func2Ref
Holds a function of in type X and out type R
Operations
Apply # function
Apply function
function : Apply(arg:X) ~ RParameters
| Name | Type | Description |
|---|---|---|
| arg | X | argument |
Return
| Type | Description |
|---|---|
| R | applied result |
Set #
Sets function
method : public : Set(func:(X)~R) ~ NilParameters
| Name | Type | Description |
|---|---|---|
| func | (X)~R | function |