User:Underscore/Scratchpad: Difference between revisions

mNo edit summary
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 := [*];</code></li>
<li> <code>&multiply := &infix<*>;</code></li></ul></li>
<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>
this is a test!
→
845

edits