rfc:pipe-operator-v2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:pipe-operator-v2 [2021/07/04 01:53] – Remove last PFA trace crell | rfc:pipe-operator-v2 [2021/07/06 17:02] – Bring back references crell | ||
---|---|---|---|
Line 140: | Line 140: | ||
===== Additional semantics ===== | ===== Additional semantics ===== | ||
- | Functions that accept their first parameter by reference are supported, and will behave | + | Functions that accept their first parameter by reference are allowed, as are functions that return by reference. |
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. | ||
Line 221: | Line 221: | ||
* Laravel includes a [[https:// | * Laravel includes a [[https:// | ||
* The [[https:// | * The [[https:// | ||
+ | * [[https:// | ||
* Various blogs speak of "the Pipeline Pattern" | * Various blogs speak of "the Pipeline Pattern" | ||
rfc/pipe-operator-v2.txt · Last modified: 2021/07/20 15:34 by crell