Apply¶
Apply Lambda node to Argument.
Documentation¶
Applies a defined Lambda node to an argument.
The argument input port will automatically be set to the input type of the Lambda node. When the Lambda has multiple input arguments Apply will do a partial application producing a new Lambda function with with the argument bound as the value for the first argument.
When the Lambda has a single input argument Apply will evaluate the node contents to produce a result, taking into account any arguments previously bound.
Definition¶
Input ports¶
- Function
Type: <a> -> <b>Description: Lambda node to Apply- Argument
Type: <a>Description: Argument
Output ports¶
- Output
Type: <b>Description: Output
Examples¶
Example flows demonstrating this node:
The node can be found in:
Implementation¶
- class node_lambda.Apply[source]