On Tue, January 30, 2007 22:04, Allin Cottrell wrote:
On Tue, 30 Jan 2007, Sven Schreiber wrote:
> Allin Cottrell schrieb:
>> I've added vertical concatenation in CVS, for the moment using '`'
>> (backtick) as the operator symbol. If anyone has a better idea, I'll
>> be
>> happy to listen. Backslash or '#' would be other possibilities.
>
> Does it have to be one char? Otherwise what about ~' which I
> find quite intuitive: vertical concat. == "transposed" horiz.
> concat.
Yes, it could be two characters. Is this a winner, folks?
Sorry, everyone, I don't mean to spoil the fun, but ~' doesn't exactly
excite me.
i) it's not, well, pretty
ii) it can be hard to tell from ~ , visually
Example:
X = (a ~ b') ~' ( c ~' d)
and
X = (a ~' b') ~' ( c' ~ d)
are not immediate to tell apart.
iii) highly counterintuitive for people with a Matlab/gauss/ox background.
Hence, my counter-proposal (which, I admit, does have drawbacks, but is
still preferable IMHO): use "|" for vertical concatenation and switch to
"&&" and "||" for logical operators. It will break existing
syntax, but
it'd be better in the long run.
Riccardo (Jack) Lucchetti
Dipartimento di Economia
Facoltà di Economia "G. Fuà"
Ancona