[Gretl-devel] Proposal for a syntax change
Riccardo (Jack) Lucchetti
r.lucchetti at univpm.it
Tue May 27 15:58:16 EDT 2008
On Tue, 27 May 2008, Riccardo (Jack) Lucchetti wrote:
>
> Hi all,
>
> since release is near, I feel it may be a good time to propose a
> backward-incompatible change that IMHO sooner or later we'll have to make:
> originally, we had "|" and "&" for logical operations. Then, when matrices
> appeared, we used the same operators for concatenation (mostly, because
> that's what everybody else uses). At the same time, we also support "||" and
> "&&" for logical operators. This, I think, creates an ugly ambiguity which
> should be resolved by specialising "|"-"~" for concatenation and "||"-"&&"
> for logical operations.
Sorry to reply to myself, but by re-reading my own message perhaps it's
not clear that the ambiguity is only about "|" vs "||". However, for
consistency, "&" should be banned in favour of "&&".
Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche
r.lucchetti at univpm.it
http://www.econ.univpm.it/lucchetti
More information about the Gretl-devel
mailing list