Skip to content

Commit d32e413

Browse files
committed
Eliminates last dupes, closes #1912
1 parent d8b020e commit d32e413

File tree

7 files changed

+11
-13
lines changed

7 files changed

+11
-13
lines changed

β€Ždoc/Language/classtut.pod6

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,11 +269,10 @@ task's dependency list.
269269
=end code
270270
271271
X<|invocant>
272-
273272
In many ways, this looks a lot like a C<sub> declaration. However, there are
274273
two important differences. First, declaring this routine as a method adds it
275-
to the list of methods for the current class. Thus any instance of the
276-
C<Task> class can call this method with the C<.> method call operator.
274+
to the list of methods for the current class, thus any instance of the
275+
C<Task> class can call it with the C<.> method call operator.
277276
Second, a method places its invocant into the special variable C<self>.
278277
279278
The method itself takes the passed parameter – which must be an instance of

β€Ždoc/Language/functions.pod6

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,10 +1063,8 @@ unit sub MAIN( Int :$length = 24,
10631063
10641064
Note that this is only appropriate if you do not need a C<proto> or C<multi> definition.
10651065
1066-
1067-
=head1 sub USAGE
1068-
10691066
X<|USAGE>X<|$*USAGE>
1067+
=head1 sub USAGE
10701068
10711069
If no multi candidate of C<MAIN> is found for the given command line
10721070
parameters, the sub C<USAGE> is called. If no such method is found,

β€Ždoc/Language/operators.pod6

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -770,11 +770,12 @@ It works by calling the L<succ> method (for I<successor>) on its argument,
770770
which gives custom types the freedom to implement their own increment
771771
semantics.
772772
773+
X<|prefix decrement operator>
773774
=head2 prefix X<CΒ«--Β»|-->
774775
775776
multi sub prefix:<-->($x is rw) is assoc<non>
776777
777-
Decrements its argument by one and returns the updated value.X<|decrement operator>
778+
Decrements its argument by one and returns the updated value.
778779
779780
my $x = 3;
780781
say --$x; # OUTPUT: «2␀»
@@ -813,11 +814,11 @@ assign the resulting string to the container. A C<is rw>-container is required.
813814
say $filename++ for 1..3;
814815
# OUTPUT: «somefile-001.txt␀somefile-002.txt␀somefile-003.txt␀»
815816
816-
=head2 postfix CΒ«--Β»
817+
=head2 postfix CΒ«--Β» X<|postfix decrement operator>
817818
818819
multi sub postfix:<-->($x is rw) is assoc<non>
819820
820-
Decrements its argument by one and returns the original value.X<|decrement operator>
821+
Decrements its argument by one and returns the original value.
821822
822823
my $x = 3;
823824
say $x--; # OUTPUT: «3␀»

β€Ždoc/Language/pragmas.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ C<fatal> pragma is enabled by default, and you can I<disable> it with C<no fatal
7676
7777
=item X<B<internals>|internals> [NYI]
7878
79-
=item X<B<invocant>|invocant> [NYI]
79+
=item B<invocant> [NYI]
8080
8181
=item X<B<lib>|lib> L<Finding Modules|/language/modules#Finding_Modules>
8282

β€Ždoc/Language/unicode_ascii.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ line), or C<Zp> (Separator, paragraph) property.
4949
This list contains the single codepoints [and their ASCII
5050
equivalents] that have a special meaning in PerlΒ 6.
5151
52-
X<|Β«>X<|Β»>X<|Γ—>X<|Γ·>X<|≀>X<|β‰₯>X<|β‰ >X<|βˆ’>X<|∘>X<|β‰…>X<|Ο€>X<|Ο„>X<|𝑒>X<|∞>X<|…>X<|β€˜>X<|’>X<|β€š>X<|β€œ>X<|”>X<|β€ž>X<|ο½’>X<|ο½£>X<|⁺>X<|⁻>X<|Β―>X<|⁰>X<|ΒΉ>X<|Β²>X<|Β³>X<|⁴>X<|⁡>X<|⁢>X<|⁷>X<|⁸>X<|⁹>X<|βˆ…>X<|∈>X<|βˆ‰>X<|βˆ‹>X<|∌>X<|βŠ†>X<|⊈>X<|βŠ‚>X<|βŠ„>X<|βŠ‡>X<|βŠ‰>X<|βŠƒ>X<|βŠ…>X<|β‰Ό>X<|≽>X<|βˆͺ>X<|∩>X<|βˆ–>X<|βŠ–>X<|⊍>X<|⊎>
52+
X<|Β«>X<|Β»>X<|Γ—>X<|Γ·>X<|≀>X<|β‰₯>X<|β‰ >X<|βˆ’>X<|∘>X<|β‰…>X<|Ο€>X<|Ο„>X<|𝑒>X<|∞>X<|…>X<|β€˜>X<|’>X<|β€š>X<|β€œ>X<|”>X<|β€ž>X<|ο½’>X<|ο½£>X<|⁺>X<|⁻>X<|Β―>X<|⁰>X<|ΒΉ>X<|Β²>X<|Β³>X<|⁴>X<|⁡>X<|⁢>X<|⁷>X<|⁸>X<|⁹>X<|∈>X<|βˆ‰>X<|βˆ‹>X<|∌>X<|βŠ†>X<|⊈>X<|βŠ‚>X<|βŠ„>X<|βŠ‡>X<|βŠ‰>X<|βŠƒ>X<|βŠ…>X<|β‰Ό>X<|≽>X<|βˆͺ>X<|∩>X<|βˆ–>X<|βŠ–>X<|⊍>X<|⊎>
5353
=table
5454
Symbol | Codepoint | ASCII | Remarks
5555
=======|===========|============|=========================

β€Ždoc/Language/variables.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ Standard error filehandle, AKA I<STDERR>.
11811181
X<|%*ENV>X<|$*REPO>X<|$*TZ>
11821182
X<|$*CWD>X<|$*KERNEL>X<|$*DISTRO>X<|$*VM>X<|$*PERL>X<|$*PID>X<|$*PROGRAM-NAME>
11831183
X<|$*PROGRAM>X<|$*EXECUTABLE>X<|$*EXECUTABLE-NAME>X<|$*USER>X<|$*GROUP>
1184-
X<|$*HOME>X<|$*SPEC>X<|$*TMPDIR>X<|$*THREAD>X<|$*SCHEDULER>X<|$*USAGE>
1184+
X<|$*HOME>X<|$*SPEC>X<|$*TMPDIR>X<|$*THREAD>X<|$*SCHEDULER>
11851185
=head3 Runtime Environment
11861186
=item C<%*ENV>
11871187
Environment variables;

β€Ždoc/Type/Regex.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A regex is typically constructed by a regex literal
1717
/ ^ ab /; # same
1818
rx/ \d ** 2/; # describes all strings containing at least two digits
1919
20-
X<|prefix &>
20+
X<|named regex>
2121
A named regex can be defined with the C<regex> declarator followed by its
2222
definition in curly braces. Since any regex does C<Callable> introspection requires
2323
referencing via C<&>-sigil.

0 commit comments

Comments
Β (0)