rfc:pipe-operator-v2
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
rfc:pipe-operator-v2 [2021/07/05 15:58] crell References are no longer allowed |
rfc:pipe-operator-v2 [2021/07/06 17:33] crell Update Javascript link |
||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2020-04-20 | * Date: 2020-04-20 | ||
* Author: Larry Garfield < | * Author: Larry Garfield < | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
Line 140: | Line 140: | ||
===== Additional semantics ===== | ===== Additional semantics ===== | ||
- | Functions that accept their first parameter by reference are not allowed. Functions | + | Functions that accept their first parameter by reference are allowed, as are functions |
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 270: | Line 270: | ||
==== Javascript ==== | ==== Javascript ==== | ||
- | A pipeline operator '' | + | A pipeline operator '' |
==== OCaml ==== | ==== OCaml ==== | ||
Line 299: | Line 299: | ||
Adopt the Pipe Operator yes/ | Adopt the Pipe Operator yes/ | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
+ | |||
===== Patches and Tests ===== | ===== Patches and Tests ===== |
rfc/pipe-operator-v2.txt · Last modified: 2021/07/20 15:34 by crell