[Gretl-devel] changes regarding genr and lists
Allin Cottrell
cottrell at wfu.edu
Sat Feb 9 08:50:31 EST 2008
On Sat, 9 Feb 2008, Riccardo (Jack) Lucchetti wrote:
> > Up till now, however, this would also work:
> >
> > matrix m = { x1 x2 x3 }
> >
> > This was just sloppiness, and it won't work any more.
>
> I hope there are not many scripts around that rely on the latter
> syntax...
After writing my note, I realized that the formulation above
actually _should_ work now (though it shouldn't have worked
before!). Because, in effect, it's
matrix m = { <implicit list> }
and lists are supposed to be OK in that context. I'll work on
that. (The trouble right now is that only named lists are
accepted in that context.)
> Thank you, this is really useful. From the user side we have
> obvious benefits; the benefits on the developer side are maybe
> less obvious, but even more dramatic: we get rid of a series of
> ad-hoc treatments and incorporate lists fully into the genr
> jurisdiction. I guess that in the future, when time allows,
> we'll have to do the same with strings.
Yes. Though we're not totally free of ad-hocery on lists just
yet; but getting better.
Allin.
More information about the Gretl-devel
mailing list