@@ -453,9 +453,10 @@ require you to add parentheses in compound expressions:
453
453
454
454
The supported adverbs are:
455
455
456
- = head2 X < :exists|subscript adverb,:exists >
456
+ X < |:exists (subscript adverb) >
457
+ = head2 C < :exists >
457
458
458
- Return whether or not the requested element exists, instead of returning the
459
+ Returns whether or not the requested element exists, instead of returning the
459
460
element's actual value. This can be used to distinguish between elements with
460
461
an undefined value, and elements that aren't part of the collection at all:
461
462
@@ -491,7 +492,8 @@ element I<existence>.
491
492
See L < #method EXISTS-POS > and L < #method EXISTS-KEY > for the underlying
492
493
mechanism.
493
494
494
- = head2 X < :delete|subscript adverb,:delete >
495
+ X < :delete (subscript adverb) >
496
+ = head2 C < :delete >
495
497
496
498
Delete the element from the collection or, if supported by the collection,
497
499
creates a hole at the given index, in addition to returning its value.
@@ -532,7 +534,8 @@ element will at the same time also be deleted.
532
534
See L < #method DELETE-POS > and L < #method DELETE-KEY > for the underlying
533
535
mechanism.
534
536
535
- = head2 X < :p|subscript adverb,:p >
537
+ X < |:p (subscript adverb) >
538
+ = head2 C < :p >
536
539
537
540
Return both the index/key and the value of the element, in the form of a
538
541
L < Pair > , and silently skip nonexistent elements:
@@ -555,7 +558,8 @@ Can be combined with the L<#:exists> and L<#:delete> adverbs.
555
558
556
559
See also the L < pairs > routine.
557
560
558
- = head2 X < :kv|subscript adverb,:kv >
561
+ X < :kv (subscript adverb) >
562
+ = head2 C < :kv >
559
563
560
564
Return both the index/key and the value of the element, in the form of a
561
565
L < List > , and silently skip nonexistent elements. When used on a
@@ -588,7 +592,8 @@ Can be combined with the L<#:exists> and L<#:delete> adverbs.
588
592
589
593
See also the L < kv > routine.
590
594
591
- = head2 X < :k|subscript adverb,:k >
595
+ X < :k (subscript adverb) >
596
+ = head2 C < :k >
592
597
593
598
Return only the index/key of the element, rather than its value, and silently
594
599
skip nonexistent elements:
@@ -609,7 +614,8 @@ If you I<don't> want to skip nonexistent elements, use the negated form:
609
614
610
615
See also the L < keys > routine.
611
616
612
- = head2 X < :v|subscript adverb,:v >
617
+ X < :v (subscript adverb) >
618
+ = head2 C < :v >
613
619
614
620
Return the bare value of the element (rather than potentially returning a
615
621
mutable value container), and silently skip nonexistent elements:
0 commit comments