User:Underscore/Scratchpad: Difference between revisions

 
(3 intermediate revisions by the same user not shown)
Line 2:
===Features to add once Rakudo implements them===
<ul>
<li> [[100 doors#Perl 6|100 doors]] (and possibly elsewhere): There's gotta be a better way to say <code>@squares[1 .. @squares.end]</code>, possibly using <code>Whatever</code> or a negative number in the subscript. Maybe I should just lobby for the inclusion of Haskell's <code>tail</code> in the setting library.
<li> [[Arithmetic Evaluator#Perl 6|Arithmetic Evaluator]]:<ul>
<li> Use <code>make</code> to create a much more digestible parse tree.
Line 14 ⟶ 15:
<li> <code>:delete</code> adverb.</li>
<li> More trials.</li></ul></li>
<li> [[Playing Cards#Perl 6|Playing Cards]]: There really ought to be something like <code>EnumerationType.pick(*)</code> that gives you the values of the enumeration ''in order''. You'd think <code>Two .. Ace</code> would do it, but as of Rakudo release #22, that produces numbers, not Pips.
<li> [[Trigonometric Functions#Perl 6|Trigonometric Functions]]: The base-switching interface specified in <code>Numeric.pod</code>.
<li> [[True/False Values#Perl 6|True/False Values]]: <code>0 but True</code>. </li>
</ul>
845

edits