Skip to content
Tcl Source Code View Ticket
Login

View Ticket

clarify 'dict' type

Closed / Fixed1032243fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-09-21 23:42:02
The docs for dict should be clear that it is an
unordered collection.  It should probably go on to be
more verbose about why one would use array vs. dict,
and x-ref the same info on the array man page.
dkfplain2004-10-01 22:11:00
Logged In: YES 
user_id=79902

FWIW, I know how to do an ordered collection (either using
the order that the keys were inserted in or in sorted order,
though the techniques required are different in the two
cases.) I just don't know if that's a good idea. Not
requiring order-preservation makes implementation much
easier after all.
dkfplain2004-10-04 20:07:28
Logged In: YES 
user_id=79902

The docs already stated that it was unordered, but the docs
could also have been clearer about it. :^)
Log in (anonymous is fine) to add a comment.