Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 851eae529dd48a8fe87b97bfe6a046cd102a973a
Ticket: 1855666fffffffffffffffffffffffffffffffff
apply man page example error
User & Date: kieranelby on 2007-12-21 11:36:00
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The 8.5.0 man page for the new "apply" command contains this example in the EXAMPLES section:
    
    proc map {lambda list} {
       set result {}
       foreach $item $list {
          lappend result [apply $lambda $item]
       }
       return $result
    }
    
    Unfortunately, it fails to work - the foreach line should start :
    
       foreach item ...
    
    not
    
       foreach $item ...
    
    
    
    
  4. foundin changed to: "obsolete: 8.5.0"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "kieranelby"
  10. subsystem changed to: "16. Commands A-H"
  11. title changed to: "apply man page example error"
  12. type changed to: "Bug"