A few simple syntactic proposals

Scott S. McCoy tag at cpan.org
Wed Apr 16 23:42:57 PDT 2008


On Wed, 2008-04-16 at 22:01 -0400, Jason House wrote:
> 
> > Remove the implicit "length" inside slice brackets as it conflicts
> with
> > outer length. Allow only $.

The conflict is irrelevant.  I vote +1 for ditching "length" as a
magical keyword inside a slice index.

Although I still wish we had [..], [0..] [..N]... :-)




More information about the Digitalmars-d mailing list