Overview
| Artifact ID: | 463a4ade80a198657154d0647bfc7a0192e82b03 |
|---|---|
| Ticket: | 939190ffffffffffffffffffffffffffffffffff
TIP #187:lambda |
| User & Date: | msofer on 2004-04-22 02:09:21 |
Changes
- 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. - login: "msofer"
- mimetype: "text/plain"
- username: "msofer"