Re: Meditations on a Loop

2009-05-21 Thread Jon Lang
On Thu, May 21, 2009 at 11:25 PM, John M. Dlugosz <2nb81l...@sneakemail.com> wrote: > Larry Wall larry-at-wall.org |Perl 6| wrote: >> >> And since the "when" modifier counts as a conditional, you can rewrite >> >>    grep Dog, @mammals >> >> as >> >>    $_ when Dog for @mammals; >> >> So perhaps wi

Re: Meditations on a Loop

2009-05-21 Thread John M. Dlugosz
Larry Wall larry-at-wall.org |Perl 6| wrote: And since the "when" modifier counts as a conditional, you can rewrite grep Dog, @mammals as $_ when Dog for @mammals; So perhaps will see a lot of subtypes used this way: subset Odd if Int where { $_ % 2 }; @evens = ($_ * 2 whe

Re: Meditations on a Loop

2009-05-21 Thread Carl Mäsak
John (>): > What is "Userdocs for Christmas"?  Someone have a link? So, "Userdocs for Christmas", also known as U4X, is an effort to create both comprehensive, consistent user documentation, and the means to access this documentation efficiently and easily. You asked about U4X the other day, whic

Re: Meditations on a Loop

2009-05-21 Thread John M. Dlugosz
What is "Userdocs for Christmas"? Someone have a link? Carl Mäsak cmasak-at-gmail.com |Perl 6| wrote: Timothy (>), John (>>): If you would be so kind, please take a look at . I spent a couple days on this, and besides needing it checked for

Re: Meditations on a Loop

2009-05-21 Thread Daniel Ruoso
Em Qui, 2009-05-21 às 21:33 -0300, Daniel Ruoso escreveu: > my @x = map { $_ * 2 for 1,2,3 }, 1,2,3; > say @x[0]; # 1; > say @x[0;0]; # ERROR > say @x[1]; # 1; > say @x[1;0]; # ERROR er... there should be a 2 as output of the fourth line there... daniel

Re: Meditations on a Loop

2009-05-21 Thread Daniel Ruoso
Em Qua, 2009-05-20 às 19:55 -0500, John M. Dlugosz escreveu: > If you would be so kind, please take a look at > . I spent a couple days > on this, and besides needing it checked for correctness, found a few > issues as well as more food for though

Re: Meditations on a Loop

2009-05-21 Thread Daniel Ruoso
Em Qua, 2009-05-20 às 20:58 -0500, Patrick R. Michaud escreveu: > On Wed, May 20, 2009 at 07:55:55PM -0500, John M. Dlugosz wrote: > > If you would be so kind, please take a look at > > . > "The reason this [.prime] works is because the method

Re: Rakudo Perl 6 development release #17 ("Stockholm")

2009-05-21 Thread François Perrad
2009/5/21 Patrick R. Michaud : > On behalf of the Rakudo development team, I'm pleased to announce > the May 2009 development release of Rakudo Perl #17 "Stockholm". > Rakudo is an implementation of Perl 6 on the Parrot Virtual Machine [1]. > The tarball for the May 2009 release is available from >

Rakudo Perl 6 development release #17 ("Stockholm")

2009-05-21 Thread Patrick R. Michaud
On behalf of the Rakudo development team, I'm pleased to announce the May 2009 development release of Rakudo Perl #17 "Stockholm". Rakudo is an implementation of Perl 6 on the Parrot Virtual Machine [1]. The tarball for the May 2009 release is available from http://github.com/rakudo/rakudo/download

Re: What is "U4X"?

2009-05-21 Thread Carl Mäsak
Leon (>), John (>>): >> Can someone post a link? > > http://svn.pugscode.org/pugs/docs/u4x/README It might also be informative to refer to the blog post that precipitated the project: Pretending that Envy is one of the Perl virtues The second section o

Re: What is "U4X"?

2009-05-21 Thread Leon Timmermans
On Thu, May 21, 2009 at 4:18 PM, John M. Dlugosz <2nb81l...@sneakemail.com> wrote: > Can someone post a link? http://svn.pugscode.org/pugs/docs/u4x/README Google is your friend ;-)

What is "U4X"?

2009-05-21 Thread John M. Dlugosz
Can someone post a link?

Parrot 1.2.0 "Bird Brain" released!

2009-05-21 Thread Mark Glines
On behalf of the Parrot team, I'm proud to announce Parrot 1.2.0 "Bird Brain." Parrot (http://parrot.org/) is a virtual machine aimed at running all dynamic languages. Parrot 1.2.0 is available on Parrot's FTP site, or follow the download instructions at http://parrot.org/download. For those who

Re: Meditations on a Loop

2009-05-21 Thread Carl Mäsak
Timothy (>), John (>>): >> If you would be so kind, please take a look at >> .  I spent a couple days on >> this, and besides needing it checked for correctness, found a few issues as >> well as more food for thought. > >        John, I very much enjo

Re: Meditations on a Loop

2009-05-21 Thread Larry Wall
On Wed, May 20, 2009 at 07:55:55PM -0500, John M. Dlugosz wrote: > If you would be so kind, please take a look at > . I spent a couple days > on this, and besides needing it checked for correctness, found a few > issues as well as more food for