Re: [perl #69194] rakudo 2009-08 and when with lists

2009-09-19 Thread David Green
On 2009-Sep-18, at 8:44 am, Moritz Lenz wrote: Aaron Sherman wrote: 2,3 constructs a list. 2..3 also constructs a list, unless it's in a given/when condition in which case it's just a range. No. 2..3 is always a range. It's just list context that turns it into a list. That seems

Re: [perl #69194] rakudo 2009-08 and when with lists

2009-09-19 Thread Carl Mäsak
David (), Moritz (), Aaron (): 2,3 constructs a list. 2..3 also constructs a list, unless it's in a given/when condition in which case it's just a range. No. 2..3 is always a range. It's just list context that turns it into a list. That seems confusing. It sounds like the split

Re: [perl #69194] rakudo 2009-08 and when with lists

2009-09-19 Thread Solomon Foster
On Sat, Sep 19, 2009 at 6:48 AM, Carl Mäsak cma...@gmail.com wrote: David (), Moritz (), Aaron (): 2,3 constructs a list. 2..3 also constructs a list, unless it's in a given/when condition in which case it's just a range. No. 2..3 is always a range. It's just list context that turns it into a

r28306 - docs/Perl6/Spec t/spec/S06-other

2009-09-19 Thread pugs-commits
Author: ruoso Date: 2009-09-19 15:45:20 +0200 (Sat, 19 Sep 2009) New Revision: 28306 Added: t/spec/S06-other/introspection.t Modified: docs/Perl6/Spec/S06-routines.pod Log: [S06] adds $multi.push($candidate) [spectest] adds a spec test for the introspection S06 section Modified:

Re: perl6.org (Was: Re: How can i contribute for perl 6 ?)

2009-09-19 Thread Moritz Lenz
Moritz Lenz wrote: In other words, we need to scale. Please check perl6.org again, mostly the scaling is done now. Cheers, Moritz

Implicit die in CATCH blocks

2009-09-19 Thread Kodi Arfer
In the process of writing some more tests for CATCH blocks, I've noticed what appears to be a contradiction between Synopsis 4 on the one hand and pugs/t/spec/S04-statements/try.t and Rakudo's current behavior on the other. The specification says there is an implicit Cdie $! just inside the

Re: [perl #69194] rakudo 2009-08 and when with lists

2009-09-19 Thread David Green
On 2009-Sep-19, at 5:53 am, Solomon Foster wrote: On Sat, Sep 19, 2009 at 6:48 AM, Carl Mäsak cma...@gmail.com wrote: David (), It sounds like the split personality of Ranges strikes again. I still think it makes more sense to have one Series-only type and one Range- only type, rather than

Re: [perl #69194] rakudo 2009-08 and when with lists

2009-09-19 Thread Aaron Sherman
On Sat, Sep 19, 2009 at 9:45 PM, David Green david.gr...@telus.net wrote: On 2009-Sep-19, at 5:53 am, Solomon Foster wrote: The one thing that worries me about this is how :by fits into it all. rakudo: given 1.5 { when 1..2 { say 'between one and two' }; say 'not'; }; rakudo: