Skip to content
Tcl Source Code History Of Ticket 939190ffffffffff
Login

History Of Ticket 939190ffffffffff

Artifacts Associated With Ticket 939190ffffffffff

  1. Ticket change [31b4988dc6] (rid 93477) by msofer on 2004-04-21 09:52:52:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The enclosed patch provides an implementation of TIP
      #187, slightly modified. It creates a new command
      [lambda], so that 
        % set p [lambda x {string length $x}]
        ::tcl::lambda::{x {string length $x}}
        % info proc tcl::lambda::*
        ::tcl::lambda::Create {::tcl::lambda::{x {string
      length $x}}}
        % $p 1 2
        wrong # args: should be "::tcl::lambda::{x {string
      length $x}} x"
        % $p bgiul
        5
        % append p " "
        ::tcl::lambda::{x {string length $x}}
        %  info proc tcl::lambda::*
        ::tcl::lambda::Create 
        % $p hvjh
        4
        %  info proc tcl::lambda::*
        ::tcl::lambda::Create {::tcl::lambda::{x {string
      length $x}} } 
        % info body $p
        string length $x
      
      Note that the lambda expressions auto cleanup on
      shimmering (when " " was appended), but are otherwise
      plain procs.
      
      The enclosed patch creates the [lambda] as a builtin;
      it is also possible to only patch tclObj.c and provide
      the functionality as a C-extension; alternatively, one
      could also patch only the .c files, and provide the
      functionality via a pure tcl extension instead of
      patching init.tcl
      
      
    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: "msofer"
    9. subsystem initialized to: "None"
    10. title initialized to: "TIP #187:lambda"
    11. type initialized to: "Patch"
  2. Ticket change [45e72f0bf7] (rid 99421) by msofer on 2004-04-21 16:52:52:

    1. icomment:
      
      
      File Added - 84494: lambda.patch
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  3. Ticket change [68d3b49a39] (rid 103136) by msofer on 2004-04-21 17:17:28:

    1. icomment:
      
      
      File Deleted - 84494: 
      
      
      
      File Added - 84496: lambda.patch
      
      Logged In: YES 
      user_id=148712
      
      Patch updated, with slightly clearer code.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  4. Ticket change [3bb650e562] (rid 112792) by msofer on 2004-04-22 00:45:24:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Boo ... bad proc names, review needed!
       % $p hgg
       3
       % eval $p jhg
       extra characters after close-brace
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  5. Ticket change [463a4ade80] (rid 99488) by msofer on 2004-04-22 02:09:21:

    1. icomment:
      
      
      File Added - 84566: lambda.patch
      
      Logged In: YES 
      user_id=148712
      
      Can't do much about spaces in the name - except proposing
      safety in eval'ing ...
      
      Updated patch,  follows the TIP more closely. Now we have
        % set p [lambda x {string length $x}]
         ::tcl::lambda x {string length $x}
      ie, $p's string rep is [list ::tcl::lambda $argList $body]
      
      ::tcl::lambda::Create and the modifs to ::unknown are meant
      to recreate a lambda expression from its string
      representation, to recover from a possible shimmering; they
      may not be robust enough for other uses.
      
      This is a non-standard hacky way to satisfy the "every value
      is a string" requisite; not sure how much I like it.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  6. Add attachment "lambda.patch" [b5c506867c] (rid 125302) by msofer on 2004-04-22 02:09:21.

  7. Ticket change [4e346327c3] (rid 127184) by msofer on 2004-04-22 02:16:37:

    1. icomment:
      
      
      File Deleted - 84496: 
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  8. Ticket change [461a6ea7fb] (rid 99462) by msofer on 2004-04-22 04:55:57:

    1. icomment:
      
      
      File Added - 84588: lambda2.patch
      
      Logged In: YES 
      user_id=148712
      
      new lambda2.patch: does not use ptr2 in the cmdNameType obj,
      as some extensions use it for their own purposes. It is now
      the Command struct itself that knows it should autocleanup,
      no changes to any public structures.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  9. Ticket change [fbcd14069f] (rid 108122) by msofer on 2004-04-22 05:17:54:

    1. icomment:
      
      
      File Deleted - 84588: 
      
      
      
      File Added - 84592: lambda2.patch
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  10. Add attachment "lambda2.patch" [67c0372bb2] (rid 102943) by msofer on 2004-04-22 05:46:02.

  11. Ticket change [43998f4fd0] (rid 116588) by msofer on 2004-04-22 05:46:02:

    1. icomment:
      
      
      File Deleted - 84592: 
      
      
      
      File Added - 84595: lambda2.patch
      
      Logged In: YES 
      user_id=148712
      
      updated patch, some stuff goes under ::tcl::unsupported::
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  12. Ticket change [33c192cc56] (rid 106645) by msofer on 2004-04-23 06:00:54:

    1. closedate changed to: "2004-04-22T23:00:54"
    2. closer changed to: "msofer"
    3. icomment:
      Logged In: YES 
      user_id=148712
      
      This has been superseeded by Patch #940207 
      https://sourceforge.net/tracker/index.php?func=detail&aid=940207&group_id=10894&atid=310894
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Out of Date"
    7. status changed to: "Closed"
    8. username: "msofer"