Tk Library Source Code

View Ticket
Login
Ticket UUID: 577055
Title: Add struct::list
Type: RFE Version: None
Submitter: dgp Created on: 2002-07-03 16:49:42
Subsystem: struct Assigned To: nobody
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2003-03-25 00:15:25
Resolution: Closed By: dgp
    Closed on: 2003-03-24 17:15:25
Description:
Add a new command [::struct::list] to the struct package.

This should be the extended subcommand [list] or "listx"
that has been discussed so many times.

Let's have an implementation of it in tcllib, so future
discussions about are not theoretical.
User Comments: dgp added on 2003-03-25 00:15:25:
Logged In: YES 
user_id=80530

Yes, that makes sense to me.  Closing...

kennykb added on 2003-03-24 23:44:28:
Logged In: YES 
user_id=99768

This request appears to be a duplicate of tcllib 
FR # 514475 [Virden].

On reflection over a conversation that dgp and I had this
past weekend, I now wonder whether ::struct is actually
the best place for the putative [listx] command. All the
other exported commands in [::struct] present object-based
interfaces. For example, one creates a queue with
the [::struct::queue] command - and the newly-created
queue appears in the command namespace. It's the same
for graph, matrix, stack, tree, and so on.  I don't think
this type of interface is what anyone has proposed
for [listx], so it seems a poor fit to the [struct] package.

Nevertheless, we do need the thing *somewhere* -
Don, are you ok with using FR # 514475 as a placeholder
for this issue?