Re: Expression-local variables and 'let'

[email protected]
Newsgroups gmane.comp.lang.nice.general
Message-ID <[email protected]>
Quoting Daniel Bonniot <[email protected]>:

> >   for (i: 1..10){}
> >  
> >
> Yes, but that's also problematic. In that case it's feasible, because 
> for(_ : _) is special syntax. I still don't like it because it's 
> inconsistent with the rest of the syntax.

So, why don't you take this special construct out? I agree it is ugly and
doesn't fit with the rest of the language.

It's your language, after all!

- Brian
(advocate of the removable of everything anybody could think is a useful
shortcut for anything)




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.