Artifacts Associated With Ticket 1227494fffffffffffffffffffffffffffffffff
Ticket change [990a8d8bbd] (rid 110714) by treectrl on 2005-06-25 20:17:50:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Only one list operation is provided, lappend. Could add these ones: dict lindex dict llength dict lset dict lreplace -- but inline like lset dict lrange And maybe: dict lsort -- maybe add an -inline option to sort in place
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "treectrl"
- subsystem initialized to: "15. Dict Object"
- title initialized to: "More list ops"
- type initialized to: "RFE"
Ticket change [874ab68d78] (rid 131668) by dkf on 2005-06-26 05:52:18:
- icomment:
Logged In: YES user_id=79902 the lindex, llength and lrange operations are trivially composed out of [dict get] and the appropriate list operation. The other two operations are actually constructable through the use of the [dict update] command, rather like this: proc dict_lset {var key index value} { upvar 1 $var d dict update d $key theList { dict set d $key {} ;# Performance hack! lset theList $index $value } } Because of this, this is a low-priority FRQ at best. - login: "dkf"
- mimetype: "text/plain"
- priority changed to: "3 Low"
- username: "dkf"
- icomment: