Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8fea74107b4aa73a22e1e849641e2c0e8fea786e
Ticket: 759545ffffffffffffffffffffffffffffffffff
lsearch -dictionary documentation misleading
User & Date: dkf on 2003-06-25 03:47:46
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    Where there's no exact match, the meaning of [lsearch
    -sorted -dictionary] is fairly straight-forward (get the
    index of the first/every dictionary-matched value in the
    list).  But what if there is an *exact* match and some other
    dictionary-matched values too?
    
    Once I understand the right semantics, a fix is pretty
    trivial.  (My current thought is that we can't share the
    dictionary comparator between lsort and lsearch.  Drat.)
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"