Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 741d3678509764a716a2bde98303cf5c7c6fb487
Ticket: 218779ffffffffffffffffffffffffffffffffff
Documentation: [concat] works at string level, not list !!!
User & Date: nobody on 2000-10-26 01:05:15
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2102 Bug
    Version: 8.1
    SubmitDate: '1999-05-19'
    LastModified: '1999-12-16'
    Severity: MED
    Status: Released
    Submitter: pat
    ChangedBy: hobbs
    OS: All
    OSVersion: NA
    Machine: NA
    FixedDate: '1999-12-16'
    FixedInVersion: 8.3b1
    ClosedDate: '2000-10-25'
    
    
    Name:  Alexandre Ferrieux
    
    ObservedBehavior:
        Documentation error for [concat]. When using [concat] with list
        arguments whose internal list repr has already been computed, it uses
        only their string representations (just like "$x $y" would...), so the
        resulting list is created as a dumb string, whose list repr will be
        recomputed from scratch as soon as needed. This is not what one would
        think reading the manpage:
        
        This command treats each argument as a list and concatenates
        them  into  a  single  list.
        
        
    
    DesiredBehavior:
        A correct documentation:
        
        The commands [concat $x $y] works roughly as "$x $y": it concatenates 
        its string arguments with an intervening space, and also normalizes 
        their internal separating spaces. Hence, if the arguments are also 
        proper lists, the result will also be a proper list, but computed only 
        at string level. For better performance, look at the -not yet 
        implemented nor documented- [lconcat] procedure.
        
    
    Patch:
    Stick the text above in lieu of the current stupid concat manpage.
    Ha ! I've filled the 'patch' box. Hence I get a priority boost, right ?
    
    PatchFiles:
        concat.n
        
    
    Comments:
        Look for nearby request for [lconcat] !
    
    
    The idea is that users should understand 'list' to be a
    parseable, correct format list value, not necessarily a list
    object.  In any case, 8.3b1 will return a list when all
    input items are pure lists. 
    -- 12/16/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "46. Traces"
  10. title changed to:
    Documentation: [concat] works at string level, not list !!!
    
  11. type changed to: "Bug"