User:Underscore/Scratchpad: Difference between revisions
→Features to add once Rakudo implements them
Underscore (talk | contribs) mNo edit summary |
Underscore (talk | contribs) |
||
Line 9:
<li>Not quite the same thing (see [http://perlcabal.org/syn/S02.html#Return_types Synopsis 2]):
<lang perl6>sub multiply (Int $a, Int $b) as Int { $a * $b }</lang></li>
<li> <code>&multiply
<li> <code>&multiply
<li> [[Monty Hall simulation#Perl 6|Monty Hall simulation]]:<ul>
<li> <code>:delete</code> adverb.</li>
Line 18:
<li> [[True/False Values#Perl 6|True/False Values]]: <code>0 but True</code>. </li>
</ul>
|