Skip to content
Tcl Source Code History Of Ticket 1227494fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1227494fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1227494fffffffffffffffffffffffffffffffff

  1. Ticket change [990a8d8bbd] (rid 110714) by treectrl on 2005-06-25 20:17:50:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "treectrl"
    9. subsystem initialized to: "15. Dict Object"
    10. title initialized to: "More list ops"
    11. type initialized to: "RFE"
  2. Ticket change [874ab68d78] (rid 131668) by dkf on 2005-06-26 05:52:18:

    1. 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.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. priority changed to: "3 Low"
    5. username: "dkf"