Skip to main content

Function.<|

<|argument

Group: Operators

Documentation

Applies the function self to the provided argument.

Arguments

  • argument: The argument to apply self to.

Examples

Applying a function to a block.

      (x -> x + 1) <|
y = 1 ^ 3
3 + y

Remarks

Piping Blocks to Functions

This construction is particularly useful for passing a block as an argument to a function. This means that you can compute more sophisticated values in-line, as shown in the example below.