Front page | perl.perl6.language |
Postings from May 2005
Re: single element lists
Thread Previous
|
Thread Next
From:
Aaron Sherman
Date:
May 11, 2005 10:36
Subject:
Re: single element lists
Message ID:
1115832977.4592.1614.camel@pps
On Wed, 2005-05-11 at 12:45, Jonathan Scott Duff wrote:
> We're discussing the proper semantics of (1)[0] on #perl6. Here's
> where we're at so far:
>
> 1. specialise ()[] to parse as (,)[]
> 2. scalars are singleton lists, so ()[] naturally
> 3. make (1)[0] die horribly.
It may or may not help, but I direct your attention to:
http://groups-beta.google.com/group/perl.perl6.language/browse_frm/thread/24ef8f421548b806/f119fc38427f9f3b?q=comma+one+element&rnum=2#f119fc38427f9f3b
--
Aaron Sherman <ajs@ajs.com>
Senior Systems Engineer and Toolsmith
"It's the sound of a satellite saying, 'get me down!'" -Shriekback
Thread Previous
|
Thread Next