Skip to content

Commit a734e5d

Browse files
author
joeyaiello
committed
move split operators to bottom of RFC0002
1 parent 849df9b commit a734e5d

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

1-Draft/RFC0002-Generalized-Splatting.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -221,14 +221,6 @@ $params = @{a = 1; b = '2'; c = 3}
221221
[foo]::bar(0, @?$params)
222222
```
223223

224-
### Slicing operators
225-
226-
The suggested use of '+' and '-' is perhaps surprising
227-
even though they correspond to Add and Remove, respectively.
228-
The actual operation is also similar to a union or intersection,
229-
so other operators should be considered, perhaps bitwise operators
230-
like '-bnot' and '-bor', or maybe new general purpose set operators.
231-
232224
### Postfix operator
233225

234226
The use of a sigil is not always well received.
@@ -273,3 +265,9 @@ When using '-', the result will exclude all keys from the right hand side.
273265

274266
In either case,
275267
it is not an error to specify a key in the right hand side operand that is not present in the left hand side.
268+
269+
The suggested use of '+' and '-' is perhaps surprising
270+
even though they correspond to Add and Remove, respectively.
271+
The actual operation is also similar to a union or intersection,
272+
so other operators should be considered, perhaps bitwise operators
273+
like '-bnot' and '-bor', or maybe new general purpose set operators.

0 commit comments

Comments
 (0)