User:Underscore/Scratchpad

From Rosetta Code
Revision as of 20:41, 22 October 2009 by Underscore (talk | contribs) (Created page with '==Perl 6== ===Features to add once Rakudo implements them=== <ul> <li> Comments: Nested bracketing characters. <li> Creating a Function:<ul> <li>Not quite the same thing …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 := &infix<*>;