Symmetry of synchronous computations.
First parameter is function parameters.
Last parameter is return of the function.
All parameters between are simple code lines.
If you need to return something before last line you can use returnable conditional operator
Calling function is just an application of it to parameters:
To call parameterless function use
These functions can be used as lambda functions and be passed as a parameter to another function or can be returned as value from another function.
In the following example result is
It's useful when you need to calculate something based on conditions:
You can use this operator with conditional operator
? to make non returnable code: