On 5/9/06, Philip Ganchev <[EMAIL PROTECTED]> wrote:
On 5/9/06, Axel Liljencrantz <[EMAIL PROTECTED]> wrote:

> set foo[(seq 3 5)] foo bar baz
>
> [...] Parameter expansion will make sure that the
> former example gets expanded into
>
> set foo[3] foo[4] foo[5] foo bar baz

Is it not possible to instead make parameter expansion convert it to
"set foo[3 4 5] foo bar baz"?  This is the more intuitive behavior to
me.  The other one seems a bit magical and surprising.


How would you note the difference? In either case, you write 'set
foo[(seq 3 5)] foo bar baz' and you get the same results. But this
way, we don't make parameter expansion behave in a different, magical
way when operating on the set builtin, instead the same rules as
always apply.

--
Axel


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to