[Top] [All Lists]

Re: arguments and strings

1998-02-01 15:02:05
Currently, concensus on arguments is that "a" "b" => "ab".  But for a
command like
      fubar "a" "b";

where fubar is a command that takes two string arguments, this is
ambiguous; this is either the same as

      fubar ("a") ("b");

which is a "legal" construct, and

      fubar "ab";

which would be an error.

We need to resolve this, either by making all strings enclosed in
string-lists, or by making strings not (automatically) concatenate.


I would suggest that instead of overloading () in this way that we instead
consider the use of commas. Comma separated parameter lists aren't exactly
unheard of...


<Prev in Thread] Current Thread [Next in Thread>