Skip to content

Commit dd2d8dc

Browse files
authored
fix grammar & clarify that «» quotes have special semantics
From the previous wording, a new reader would likely suspect that `«»` quotes in Raku code to behave similarly to the `«»` in `"OUTPUT: «»` comments, i.e. do nothing.
1 parent e4c3d5d commit dd2d8dc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/Language/intro.rakudoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,10 @@ my @a = 1, 2, 3;
7272
say @a; # OUTPUT: «[2 3 4]␤»
7373

7474
Note on the last line, there is a comment, starting with C<# OUTPUT:>, that shows what the example outputs.
75-
The output is wrapped in C<«»> quotes (also a valid quoting construct in Raku!), and may include a C<␤>, which
76-
is the Unicode character "Symbol for Newline" - to indicates where in the actual output a literal newline would
77-
appear.
75+
The output is wrapped in C<«»> quotes and may include a C<␤>, which
76+
is the Unicode character "Symbol for Newline", to indicate where in the actual output a literal newline would
77+
appear. (C<«»> quotes are also a valid L<quoting construct|/language/quoting> in Raku,
78+
but with special semantics.)
7879

7980
=end item
8081

0 commit comments

Comments
 (0)