On Tue, 23 Jun 2015, Ignacio Diaz-Emparanza wrote:
[...] I think an experienced hansl user (as myself ;-)) should
always use bundles to return several objects. Does it mean that we
should deprecate the use of lists as return value of a function? It
may be, but not necessarily. And may be also that we should
deprecate all use of lists, because probably all their functionality
can be done via bundles and strings. Lists were created a long time
ago before the existence of strings and bundles (Do they come from
ESL, Allin?) and they were a solution valid for a such a time. Now
we should take into account that they may be an object more easy to
manage than bundles, for new hansl users.
No, lists were not in ESL; they were introduced in gretl 1.4.0, in
2005. As you say, bundles are a better container for some purposes,
but I think lists are very useful and would not want to deprecate them
in general.
Allin