Re: r24325 - docs/Perl6/Spec

2008-12-13 Thread Uri Guttman
> "p" == pugs-commits writes: p> This document attempts to document the list of builtin functions in Perl 6. p> It assumes familiarity with Perl 5 and prior synopses. p> @@ -870,6 +870,10 @@ p> comparisons. C<@by> differs from C<$by> in that each criterion is p> applied, in or

Re: Better "sort" spec?

2008-12-13 Thread Patrick R. Michaud
On Fri, Dec 12, 2008 at 11:49:37PM -0500, Uri Guttman wrote: > > @sorted = sort {(%M{$^a}//-M $^a) <=> (%M{$^b}//-M $^b)} @unsorted; > @sorted = map $_[1], sort {$^a[0] <=> $^b[0]}, map [-M,$_], @unsorted; > > would both become: > > @sorted = sort {-M} @unsorted; This prompted me

r24332 - docs/Perl6/Spec

2008-12-13 Thread pugs-commits
Author: mj41 Date: 2008-12-13 16:06:02 +0100 (Sat, 13 Dec 2008) New Revision: 24332 Modified: docs/Perl6/Spec/S17-concurrency.pod docs/Perl6/Spec/S22-cpan.pod Log: [Synopses] - some formating Modified: docs/Perl6/Spec/S17-concurrency.pod =

Re: Better "sort" spec?

2008-12-13 Thread Carl Mäsak
Carl (>): > I have a couple of patches waiting to be written and integrated into > S29. The addition of the new signature to sort is one of them. I > expect a sudden inflow of round tuits early next week. Oh, and I now see that moritz++ went and simply added it. JFDI++. S29 needs a lot of care an

Re: Better "sort" spec?

2008-12-13 Thread Carl Mäsak
Uri (>): > [...] > > well, it is sort (sic) of just like what damian posted almost 5 years > ago. i found this post covers something very similar to the rakudo > implementation. i can't seem to find this proposal in any of the > synopses (at least a quick google search found nothing) so maybe it >

Re: Where does Foo::Bar.EXPORTALL comes from?

2008-12-13 Thread Daniel Ruoso
Em Sex, 2008-12-12 às 18:40 -0600, Patrick R. Michaud escreveu: > On Fri, Dec 12, 2008 at 08:42:05PM -0300, Daniel Ruoso wrote: > > [...] > > While all the default exportation is done by the population of the > > EXPORT inner package, that doesn't happen from the outside, S11 implies > > that it ha

r24325 - docs/Perl6/Spec

2008-12-13 Thread pugs-commits
Author: moritz Date: 2008-12-13 10:32:15 +0100 (Sat, 13 Dec 2008) New Revision: 24325 Modified: docs/Perl6/Spec/S29-functions.pod Log: [S29] List.sort with a unary or nullary code object does a Schwartzian Transform. (Feel free to improve the wording) Modified: docs/Perl6/Spec/S29-functions.p