User:Underscore/Scratchpad
Perl 6
Features to add once Rakudo implements them
- Comments: Nested bracketing characters.
- Creating a Function:
- Not quite the same thing (see Synopsis 2): <lang perl6>sub multiply (Int $a, Int $b) as Int { $a * $b }</lang>
-
&multiply := [*];
-
&multiply := &infix<*>;
- Monty Hall simulation:
-
:delete
adverb. - More trials.
-
- True/False Values:
0 but True
.