Map¶
Map Lambda node over each element in argument list.
Documentation¶
Applies a defined Lambda node across a list of elements. The Lambda node is applied element-wise and the results are returned as a list.
In contrast with Apply, partial application is not supported. This means that the Lambda node cannot have any extra input ports, if used with the Map node. If more than one input element is required, the elements could be zipped into a list of tuples with the node Zip Tuple. The elements will then arrive as tuples in the Lambda node and can be unzipped on the inside. Alternatively, it is also possible to first apply a single element to the first port(s) and the map over the last remaining port.
Definition¶
Input ports¶
- Function
Type: <a> -> <b>Description: Lambda node to Map- List
Type: [<a>]Description: Argument List
Output ports¶
- List
Type: [<b>]Description: Output List
Configuration¶
- Action on exception (fail_strategy)
Decide how failure to process an item should be handled.
Examples¶
Example flows demonstrating this node:
The node can be found in:
Implementation¶
- class node_lambda.Map[source]