All Bundles
Func2Ref
Holds a function of in type X and out type R
Operations
Apply
Apply function
function : Apply(arg:X) ~ RParameters
| Name | Type | Description |
|---|
| arg | X | argument |
Return
| Type | Description |
|---|
| R | applied result |
Get
Gets function
method : public : Get() ~ (X)~RReturn
| Type | Description |
|---|
| (X)~R | function |
New
Constructor
New(func:(X)~R)Parameters
| Name | Type | Description |
|---|
| func | (X)~R | function |
Set
Sets function
method : public : Set(func:(X)~R) ~ NilParameters
| Name | Type | Description |
|---|
| func | (X)~R | function |