[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: anonymous lists



Hi Alan,
	I don't quite understand what you're saying.  I think lists
are flattened in all contexts, so

;
; fn foo {echo $#*}
; bar = a b c d; foo $bar
4
; foo (a b c d)
4
; foo a b c d
4

I think Paul argues for flattening all lists in his usenix paper, saying
that it was more appropriate in a shell.  (Sorry Paul, if I misread it :-) )

I can see Paul's point in a shell, although I have to admit that is
is useful sometimes to be able to have nested lists.

Pete.