Skip to content

Commit 6772d8c

Browse files
committed
Merge branch 'master' of github.com:perl6/specs
2 parents 448160b + d259755 commit 6772d8c

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

S02-bits.pod

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2530,24 +2530,32 @@ combinations such as I<:kv:p> or I<:v:k> simply do not make sense.
25302530

25312531
These combinations are considered legal and mean the following:
25322532

2533-
:delete :p delete, return pairs of actually deleted keys
2534-
:delete :!p delete, return pairs of all keys attempted
25352533
:delete :kv delete, return key/values of actually deleted keys
25362534
:delete :!kv delete, return key/values of all keys attempted
2537-
:delete :v delete, return values of actually deleted keys
2538-
:delete :!v delete, return values of all keys attempted
2535+
:delete :p delete, return pairs of actually deleted keys
2536+
:delete :!p delete, return pairs of all keys attempted
25392537
:delete :k delete, return actually deleted keys
25402538
:delete :!k delete, return all keys attempted to delete
2539+
:delete :v delete, return values of actually deleted keys
2540+
:delete :!v delete, return values of all keys attempted
25412541
:delete :exists delete, return Bools indicating keys existed
25422542
:delete :!exists delete, return Bools indicating keys did not exist
2543-
:delete :exists :p delete, return pairs with key/True for key existed
2544-
:delete :!exists :p delete, return pairs with key/False for key existed
2545-
:delete :exists :!p delete, return pairs with key/Bool whether key existed
2546-
:delete :!exists :!p delete, return pairs with key/!Bool whether key existed
25472543
:delete :exists :kv delete, return list with key,True for key existed
25482544
:delete :!exists :kv delete, return list with key,False for key existed
25492545
:delete :exists :!kv delete, return list with key,Bool whether key existed
25502546
:delete :!exists :!kv delete, return list with key,!Bool whether key existed
2547+
:delete :exists :p delete, return pairs with key/True for key existed
2548+
:delete :!exists :p delete, return pairs with key/False for key existed
2549+
:delete :exists :!p delete, return pairs with key/Bool whether key existed
2550+
:delete :!exists :!p delete, return pairs with key/!Bool whether key existed
2551+
:exists :kv return pairs with key,True for key exists
2552+
:!exists :kv return pairs with key,False for key exists
2553+
:exists :!kv return pairs with key,Bool for key exists
2554+
:!exists :!kv return pairs with key,!Bool for key exists
2555+
:exists :p return pairs with key/True for key exists
2556+
:!exists :p return pairs with key/False for key exists
2557+
:exists :!p return pairs with key/Bool for key exists
2558+
:!exists :!p return pairs with key/!Bool for key exists
25512559

25522560
An implementation is free to silently ignore any other combinations or
25532561
silently prefer one of the adverbs given above any other.
@@ -4522,7 +4530,7 @@ versioning schemes seen in the real world. Modules with such strange
45224530
versions can still be used by Perl since by default Perl imports
45234531
external modules by exact version number. (See S11.) Only range
45244532
operations will be compromised by an unknown foreign collation order,
4525-
such as a system that sorts "delta" after "gamma".
4533+
such as a system that sorts "delta" before "gamma".
45264534

45274535
=head2 Allomorphic value semantics
45284536

0 commit comments

Comments
 (0)