Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 193ed8672fa68a34278707ccbc14735aaf318b4b
Ticket: 944803ffffffffffffffffffffffffffffffffff
new [apply] command
User & Date: msofer on 2006-01-19 05:46:11
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    Updated apply4.patch, with fixes for two bugs noticed by dgp
    on tclcore:
    * [info level 0] now returns the full command line
    * error messages do not refer to "procedures"
    
    Still missing:
    * TESTS!!
    * move ::apply to ::tcl::apply (?)
    * implement suggestion by jenglish (?): if the first
    argument to apply is a single-element list, interpret it as
    a command name instead
    
    Coldstore's suggestion (improved) will appear in a
    forthcoming patch that replaces 'struct Proc' with 'struct
    Lambda', and arranges for proc to create a command that runs
    a lambda (instead of apply running a nameless proc, as in
    this patch). This cleaner approach will break compat with
    (at least) itcl sources: investigating an approach that
    avoids that.
    
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"