Feb 25
All I can say is “wow”. Autrijus has written an interpreter for Perl 6 in Haskell called Pugs. Kudos.
Oh, and here is a small example of some Perl 6 code:
#!perl6
use v6;
multi sub quicksort ( ) { () }
multi sub quicksort ( *$x, *@xs ) {
my @pre = @xs.grep:{ $_ < $x };
my @post = @xs.grep:{ $_ >= $x };
(@pre.quicksort, $x, @post.quicksort);
}
(1, 5, 2, 4, 3).quicksort.say;
![[image]](http://mowser.com/img?url=http%3A%2F%2Fphotos-g.ak.fbcdn.net%2Fphotos-ak-snc1%2Fv369%2F161%2F33%2F617989202%2Fs617989202_1682798_2694.jpg)
February 25th, 2005 at 1:33 pm
That’s the first bit of Perl 6 I’ve seen. It looks quite interesting. Any idea when Perl 6 is going to be released?
Anthony Eden Says:February 25th, 2005 at 1:33 pm
That’s the first bit of Perl 6 I’ve seen. It looks quite interesting. Any idea when Perl 6 is going to be released?
Daniel Berger Says:February 25th, 2005 at 3:34 pm
Anthony, it will be released sometime around Christmas. Not necessarily *this* Christmas. ;)
Daniel Berger Says:February 25th, 2005 at 3:34 pm
Anthony, it will be released sometime around Christmas. Not necessarily *this* Christmas. ;)
Clive Darke Says:March 3rd, 2005 at 2:44 am
Allison Randal (Perl 6 Project Manager) told me last week that a development release will be “Next Christmas if we are lucky”. Publicly she is saying Quarter 1 2006 for the development release, Quarter 1 2007 for production.
Clive Darke Says:March 3rd, 2005 at 2:44 am
Allison Randal (Perl 6 Project Manager) told me last week that a development release will be “Next Christmas if we are lucky”. Publicly she is saying Quarter 1 2006 for the development release, Quarter 1 2007 for production.
Anonymous Says:September 15th, 2005 at 10:57 am
Haskell’s much cooler than Perl, though (but nowhere near as practical)
Anonymous Says:September 15th, 2005 at 10:57 am
Haskell’s much cooler than Perl, though (but nowhere near as practical)