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 confusing.
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 l
On Sat, Sep 19, 2009 at 6:48 AM, Carl Mäsak 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 in
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: docs/Perl6/
Moritz Lenz wrote:
> In other words, we need to scale.
Please check perl6.org again, mostly the scaling is done now.
Cheers,
Moritz
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 C just
inside the end of t
On 2009-Sep-19, at 5:53 am, Solomon Foster wrote:
On Sat, Sep 19, 2009 at 6:48 AM, Carl Mäsak 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 one Series ty
On Sat, Sep 19, 2009 at 9:45 PM, David Green 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: given 1.5 {