|
From: Donal K. F. <don...@ma...> - 2004-09-24 09:01:35
|
Joe English wrote:
> Brian Griffin wrote:
>>Following the "everything-is-a-string" paradigm, I would just say that
>>all columns are named; period. This also gives you a default header label.
> I'm *really* tempted to do this.
>
> The main reasons for allowing the user to just specify the
> number of columns is that it seemed slightly more intuitive
> (to get 5 columns, say "-columns 5"); and the data might not
> have homogeneous columns, in which case there wouldn't be a
> meaningful identifier for each column.
Do columns have to have *unique* names? If not, all it requires is
something like this:
-columns [lrepeat 5 {}]
This would indicate that the -displaycolumns option ought to be a list
of integers, but that would probably make it easier for the tablelist
class bindings to manipulate in the first place...
Donal.
|