Skip to content

Commit 42bced7

Browse files
committed
Update to Jan 04th
1 parent 46b2e5d commit 42bced7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+70
-69
lines changed

js/search.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5707,6 +5707,10 @@ $(function(){
57075707
,
57085708
{ category: "Reference", value: "nativecall", url: "/language/nativecall#index-entry-nativecall" }
57095709
,
5710+
{ category: "Reference", value: "is native", url: "/language/nativecall#index-entry-is_native" }
5711+
,
5712+
{ category: "Reference", value: "native (trait)", url: "/language/nativecall#index-entry-native_(trait)" }
5713+
,
57105714
{ category: "Reference", value: "repr", url: "/language/nativecall#index-entry-repr" }
57115715
,
57125716
{ category: "Reference", value: "is repr", url: "/language/nativecall#index-entry-is_repr" }

language.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ <h2 id="At_the_beginning"><a class="u" href="#___top" title="go to top of docume
101101
</table><h2 id="General_reference"><a class="u" href="#___top" title="go to top of document">General reference</a></h2>
102102
<table class="pod-table">
103103
<tbody>
104-
<tr> <td><a href="/language/terms">Terms</a></td> <td>Raku terms</td> </tr> <tr> <td><a href="/language/glossary">Glossary</a></td> <td>Glossary of Raku terminology</td> </tr> <tr> <td><a href="/language/traps">Traps to avoid</a></td> <td>Traps to avoid when getting started with Raku</td> </tr> <tr> <td><a href="/language/community">Community</a></td> <td>Information about the people working on and using Raku</td> </tr> <tr> <td><a href="/language/tables">Pod6 tables</a></td> <td>The good, the bad and the ugly</td> </tr> <tr> <td><a href="/language/pod">Pod6</a></td> <td>An easy-to-use markup language for documenting Raku&nbsp;modules and programs</td> </tr> <tr> <td><a href="/language/testing">Testing</a></td> <td>Writing and running tests in Raku</td> </tr> <tr> <td><a href="/language/opener-chars">Opener graphemes</a></td> <td>Valid opening paired delimiters</td> </tr> <tr> <td><a href="/language/faq">FAQ</a></td> <td>Frequently asked questions about Raku</td> </tr>
104+
<tr> <td><a href="/language/terms">Terms</a></td> <td>Raku terms</td> </tr> <tr> <td><a href="/language/glossary">Glossary</a></td> <td>Glossary of Raku terminology</td> </tr> <tr> <td><a href="/language/traps">Traps to avoid</a></td> <td>Traps to avoid when getting started with Raku</td> </tr> <tr> <td><a href="/language/community">Community</a></td> <td>Information about the people working on and using Raku</td> </tr> <tr> <td><a href="/language/tables">Pod6 tables</a></td> <td>The good, the bad and the ugly</td> </tr> <tr> <td><a href="/language/pod">Pod6</a></td> <td>An easy-to-use markup language for documenting Raku modules and programs</td> </tr> <tr> <td><a href="/language/testing">Testing</a></td> <td>Writing and running tests in Raku</td> </tr> <tr> <td><a href="/language/opener-chars">Opener graphemes</a></td> <td>Valid opening paired delimiters</td> </tr> <tr> <td><a href="/language/faq">FAQ</a></td> <td>Frequently asked questions about Raku</td> </tr>
105105
</tbody>
106106
</table><h2 id="Advanced_topics"><a class="u" href="#___top" title="go to top of document">Advanced topics</a></h2>
107107
<table class="pod-table">

language/grammar_tutorial.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

language/iterating.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

language/list.html

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

language/nativecall.html

Lines changed: 11 additions & 11 deletions
Large diffs are not rendered by default.

language/newline.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ <h1 class="title">Newline handling in Raku</h1>
8484
</li>
8585
</ul>
8686
<p><a name="index-entry-:nl-out"></a> You can change the default behavior for a particular handle by setting the <code>:nl-out</code> attribute when you create that handle.</p>
87-
<pre class="editor editor-colors"><div class="line"><span class="source raku"><span class="storage modifier declarator raku"><span>my</span></span><span>&nbsp;</span><span class="meta variable container raku"><span class="variable other identifier sigil raku"><span>$</span></span><span class="variable other identifier raku"><span>crlf-out</span></span></span><span>&nbsp;</span><span class="storage modifier assignment raku"><span>=</span></span><span>&nbsp;</span><span class="support function raku"><span>open</span></span><span>(</span><span class="support type raku"><span>IO</span></span><span>::</span><span class="routine name raku"><span>Special</span></span><span class="keyword operator generic raku"><span>.</span></span><span class="support function raku"><span>new</span></span><span>(</span><span class="string quoted single single raku"><span class="punctuation definition string begin raku"><span>&#39;</span></span><span>&lt;STDOUT&gt;</span><span class="punctuation definition string end raku"><span>&#39;</span></span></span><span>),&nbsp;</span><span class="keyword operator generic raku"><span>:</span></span><span class="routine name raku"><span>nl-out</span></span><span>(</span><span class="string quoted double raku"><span class="punctuation definition string begin raku"><span>&quot;</span></span><span class="constant character escape raku"><span>\\</span><span>\n</span><span>\r</span></span><span class="punctuation definition string end raku"><span>&quot;</span></span></span><span>));</span></span></div><div class="line"><span class="source raku"><span class="meta variable container raku"><span class="variable other identifier sigil raku"><span>$</span></span><span class="support class twigil raku"><span>*</span></span><span class="variable other identifier raku"><span>OUT</span></span></span><span class="keyword operator generic raku"><span>.</span></span><span class="support function raku"><span>say</span></span><span class="keyword operator generic raku"><span>:</span></span><span>&nbsp;</span><span class="constant numeric raku"><span>1</span></span><span>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment line number-sign raku"><span class="punctuation definition comment raku"><span>#</span></span><span>OUTPUT:&nbsp;«1␤»</span><span>&nbsp;</span></span></span></div><div class="line"><span class="source raku"><span class="meta variable container raku"><span class="variable other identifier sigil raku"><span>$</span></span><span class="variable other identifier raku"><span>crlf-out</span></span></span><span class="keyword operator generic raku"><span>.</span></span><span class="support function raku"><span>say</span></span><span class="keyword operator generic raku"><span>:</span></span><span>&nbsp;</span><span class="constant numeric raku"><span>1</span></span><span>;&nbsp;</span><span class="comment line number-sign raku"><span class="punctuation definition comment raku"><span>#</span></span><span>OUTPUT:&nbsp;«1\␤␍»</span></span></span></div></pre><p>In this example, where we are replicating standard output to a new handle by using <a href="/type/IO::Special">IO::Special</a>, we are appending a <code>\</code> to the end of the string, followed by a newline <code></code> and a carriage return <code></code>; everything we print to that handle will get those characters at the end of the line, as shown.</p>
87+
<pre class="editor editor-colors"><div class="line"><span class="source raku"><span class="storage modifier declarator raku"><span>my</span></span><span>&nbsp;</span><span class="meta variable container raku"><span class="variable other identifier sigil raku"><span>$</span></span><span class="variable other identifier raku"><span>crlf-out</span></span></span><span>&nbsp;</span><span class="storage modifier assignment raku"><span>=</span></span><span>&nbsp;</span><span class="support function raku"><span>open</span></span><span>(</span><span class="support type raku"><span>IO</span></span><span>::</span><span class="routine name raku"><span>Special</span></span><span class="keyword operator generic raku"><span>.</span></span><span class="support function raku"><span>new</span></span><span>(</span><span class="string quoted single single raku"><span class="punctuation definition string begin raku"><span>&#39;</span></span><span>&lt;STDOUT&gt;</span><span class="punctuation definition string end raku"><span>&#39;</span></span></span><span>),&nbsp;</span><span class="keyword operator generic raku"><span>:</span></span><span class="routine name raku"><span>nl-out</span></span><span>(</span><span class="string quoted double raku"><span class="punctuation definition string begin raku"><span>&quot;</span></span><span class="constant character escape raku"><span>\\</span><span>\n</span><span>\r</span></span><span class="punctuation definition string end raku"><span>&quot;</span></span></span><span>));</span></span></div><div class="line"><span class="source raku"><span class="meta variable container raku"><span class="variable other identifier sigil raku"><span>$</span></span><span class="support class twigil raku"><span>*</span></span><span class="variable other identifier raku"><span>OUT</span></span></span><span class="keyword operator generic raku"><span>.</span></span><span class="support function raku"><span>say</span></span><span class="keyword operator generic raku"><span>:</span></span><span>&nbsp;</span><span class="constant numeric raku"><span>1</span></span><span>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment line number-sign raku"><span class="punctuation definition comment raku"><span>#</span></span><span>&nbsp;OUTPUT:&nbsp;«1␤»</span><span>&nbsp;</span></span></span></div><div class="line"><span class="source raku"><span class="meta variable container raku"><span class="variable other identifier sigil raku"><span>$</span></span><span class="variable other identifier raku"><span>crlf-out</span></span></span><span class="keyword operator generic raku"><span>.</span></span><span class="support function raku"><span>say</span></span><span class="keyword operator generic raku"><span>:</span></span><span>&nbsp;</span><span class="constant numeric raku"><span>1</span></span><span>;&nbsp;</span><span class="comment line number-sign raku"><span class="punctuation definition comment raku"><span>#</span></span><span>&nbsp;OUTPUT:&nbsp;«1\␤␍»</span></span></span></div></pre><p>In this example, where we are replicating standard output to a new handle by using <a href="/type/IO::Special">IO::Special</a>, we are appending a <code>\</code> to the end of the string, followed by a newline <code></code> and a carriage return <code></code>; everything we print to that handle will get those characters at the end of the line, as shown.</p>
8888
<p>In regular expressions, <a href="/language/regexes#index-entry-regex_\n-regex_\N-\n_and_\N"><code>\n</code></a> is defined in terms of the <a href="https://unicode.org/reports/tr18/#Line_Boundaries">Unicode definition of logical newline</a>. It will match <code>.</code> and also <code>\v</code>, as well as any class that includes whitespace.</p>
8989

9090
</div>

0 commit comments

Comments
 (0)