Skip to content

Commit b1342b9

Browse files
committed
Fixes identifiers, closes #2568
1 parent a0c7d61 commit b1342b9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/Language/syntax.pod6

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -221,19 +221,19 @@ of comment
221221
say 'code again';
222222
=end code
223223
224-
=head2 X<Identifiers|identifier, identifiers>
224+
=head2 X<Identifiers|identifier,identifiers>
225225
226226
Identifiers are grammatical building blocks that may be used to give a name
227-
to entities/objects such as constants, variables (e.g. Scalars) and routines
228-
(e.g. Subs and Methods). In a L<variable name|/language/variables>, any sigil
227+
to entities/objects such as constants, variables (e.g. C<Scalar>s) and routines
228+
(e.g. C<Sub>s and Methods). In a L<variable name|/language/variables>, any sigil
229229
(and twigil) precedes the identifier and does not form a part thereof.
230230
231231
constant c = 299792458; # identifier "c" names an Int
232232
my $a = 123; # identifier "a" in the name "$a" of a Scalar
233233
sub hello { say "Hello!" }; # identifier "hello" names a Sub
234234
235-
Identifiers come in different forms: ordinary identifiers, extended
236-
identifiers, and compound identifiers.
235+
Identifiers come in different forms: ordinary, extended, and compound
236+
identifiers.
237237
238238
=head3 Ordinary identifiers
239239
@@ -299,7 +299,7 @@ infix:<*> # the official name of the operator in $a * $b
299299
infix:«<=» # the official name of the operator in $a <= $b
300300
=end code
301301
302-
For all such uses, you can append one or more colon-separated string to an
302+
For all such uses, you can append one or more colon-separated strings to an
303303
ordinary identifier to create a so-called I<extended identifier>. When appended
304304
to an identifier (that is, in postfix position), this colon-separated string
305305
generates unique variants of that identifier.

0 commit comments

Comments
 (0)