rfc:pipe-operator-v2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
rfc:pipe-operator-v2 [2021/07/04 02:08] – Add another existing library crellrfc:pipe-operator-v2 [2021/07/05 15:58] – References are no longer allowed crell
Line 140: Line 140:
 ===== Additional semantics ===== ===== Additional semantics =====
  
-Functions that accept their first parameter by reference are supported, and will behave exactly as if they were called in the normal "inside out" fashion.  However, unless they return a value as well they are not of much use.+Functions that accept their first parameter by reference are not allowed.  Functions that return by reference are not allowed.  As the whole point of pipes is to pass values along from one function to the next, references are of little value.
  
 When evaluating a pipe, the left-hand side is fully evaluated first, then the right-hand side, then the right-hand side is invoked using the left-hand side.  That is, evaluation is strictly left-to-right. When evaluating a pipe, the left-hand side is fully evaluated first, then the right-hand side, then the right-hand side is invoked using the left-hand side.  That is, evaluation is strictly left-to-right.
rfc/pipe-operator-v2.txt · Last modified: 2021/07/20 15:34 by crell