You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: language.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ <h1 class="title">Raku Language Documentation</h1>
81
81
<h2id="At_the_beginning"><aclass="u" href="#___top" title="go to top of document">At the beginning</a></h2>
82
82
<tableclass="pod-table">
83
83
<tbody>
84
-
<tr><td><ahref="/language/intro">Brief introduction</a></td><td>Using Raku™ official documentation</td></tr><tr><td><ahref="/language/about">About the docs</a></td><td>How to contribute to Raku and to the documents, how to generate the docs locally</td></tr><tr><td><ahref="/language/101-basics">Raku™ by example 101</a></td><td>A basic introductory example of a Raku program</td></tr>
84
+
<tr><td><ahref="/language/intro">Brief introduction</a></td><td>Using Raku™ official documentation</td></tr><tr><td><ahref="/language/about">About the docs</a></td><td>How to contribute to Raku and to the documents, how to generate the docs locally</td></tr><tr><td><ahref="/language/101-basics">Raku™ by example 101</a></td><td>A basic introductory example of a Raku program</td></tr><tr><td><ahref="/language/filename-extensions">Filename extensions</a></td><td>The extensions recommended for files with Raku content.</td></tr>
85
85
</tbody>
86
86
</table><h2id="Migration_guides"><aclass="u" href="#___top" title="go to top of document">Migration guides</a></h2>
<trclass="toc-level-2"><tdclass="toc-number">2.1</td><tdclass="toc-text"><ahref="#Operator_precedence_and_associativity">Operator precedence and associativity</a></td></tr>
72
-
<trclass="toc-level-2"><tdclass="toc-number">2.2</td><tdclass="toc-text"><ahref="#Terms_and_list_operators">Terms and list operators</a></td></tr>
<trclass="toc-level-2"><tdclass="toc-number">2.4</td><tdclass="toc-text"><ahref="#Auto-increment_and_auto-decrement">Auto-increment and auto-decrement</a></td></tr>
<trclass="toc-level-2"><tdclass="toc-number">2.16</td><tdclass="toc-text"><ahref="#Bitwise_Or_and_Exclusive_Or">Bitwise Or and Exclusive Or</a></td></tr>
<trclass="toc-level-2"><tdclass="toc-number">2.27</td><tdclass="toc-text"><ahref="#Logical_or_and_Exclusive_Or">Logical or and Exclusive Or</a></td></tr>
98
-
<trclass="toc-level-2"><tdclass="toc-number">2.28</td><tdclass="toc-text"><ahref="#Quote_and_quote-like_operators">Quote and quote-like operators</a></td></tr>
<trclass="toc-level-2"><tdclass="toc-number">2.1</td><tdclass="toc-text"><ahref="#Operator_precedence_and_associativity">Operator precedence and associativity</a></td></tr>
72
+
<trclass="toc-level-2"><tdclass="toc-number">2.2</td><tdclass="toc-text"><ahref="#Terms_and_list_operators">Terms and list operators</a></td></tr>
<trclass="toc-level-2"><tdclass="toc-number">2.4</td><tdclass="toc-text"><ahref="#Auto-increment_and_auto-decrement">Auto-increment and auto-decrement</a></td></tr>
<trclass="toc-level-2"><tdclass="toc-number">2.16</td><tdclass="toc-text"><ahref="#Bitwise_Or_and_Exclusive_Or">Bitwise Or and Exclusive Or</a></td></tr>
<trclass="toc-level-2"><tdclass="toc-number">2.27</td><tdclass="toc-text"><ahref="#Logical_or_and_Exclusive_Or">Logical or and Exclusive Or</a></td></tr>
98
+
<trclass="toc-level-2"><tdclass="toc-number">2.28</td><tdclass="toc-text"><ahref="#Quote_and_quote-like_operators">Quote and quote-like operators</a></td></tr>
@@ -176,7 +176,7 @@ <h2 id="Conditional_operator"><a class="u" href="#___top" title="go to top of do
176
176
<p><code>~=</code> is the string concatenation assignment, as you might expect with the changes in <code>.</code> and <code>~</code>. Also, the bitwise assignment operators are likely not separated into numeric and string versions (<code>&=</code>, etc., vs. <code>&.=</code>, etc.), as that feature is currently experimental in Perl itself - although, again, this is not specifically documented.</p>
177
177
<h2id="Comma_operator"><aclass="u" href="#___top" title="go to top of document">Comma operator</a></h2>
178
178
<p>The comma operator works mostly as expected, but technically it creates <ahref="/type/List">Lists</a>) or separates arguments in function calls. Also, there is a <code>:</code> variant that turns function calls into method calls - see <ahref="/language/operators#infix_%3A">this page</a>.</p>
179
-
<p>The <code>=> </code> operator, or <em>fat arrow</em>, works similarly to the Perl "fat comma" in that it allows an unquoted (ordinary) identifier on its left side, but in Raku constructs Pair objects, rather than just functioning as a separator. If you are trying to just literally translate a line of Perl code to Raku, it should behave as expected.</p>
179
+
<p>The <code>=> </code> operator, or <em>fat arrow</em>, works similarly to the Perl "fat comma" in that it allows an unquoted (ordinary) identifier on its left side, but in Raku constructs <ahref="/type/Pair">Pair</a> objects, rather than just functioning as a separator. If you are trying to just literally translate a line of Perl code to Raku, it should behave as expected. To read Raku, take a look at <ahref="/language/glossary#Adverbial_pair">Adverbial Pair</a> which will explain a new syntax.</p>
180
180
<h2id="List_operators_(rightward)"><aclass="u" href="#___top" title="go to top of document">List operators (rightward)</a></h2>
181
181
<p>Like the Named Unary Operators, you'll find these discussed under <ahref="/language/5to6-perlfunc">Functions</a>.</p>
182
182
<h2id="Logical_Not"><aclass="u" href="#___top" title="go to top of document">Logical Not</a></h2>
0 commit comments