Re: lambda... again
- From: suchenwi <richard.suchenwirth-bauersachs@xxxxxxxxxxx>
- Date: Tue, 23 Oct 2007 01:09:34 -0700
On 23 Okt., 10:00, "slebet...@xxxxxxxxx" <slebet...@xxxxxxxxx> wrote:
HA! Now that we have this we can TRULY treat everything as a string.
Proc is no longer necessary. Just store everything in variables!
See http://wiki.tcl.tk/5892 "If we had no proc"
OTOH since variables are locally scoped writing tcl code in pure
lambdas is going to be annoying:
set something {{} {
global do_something print ;# must "import" all lambdas before
using :-(
$do_something here
$print Done!
No.. just say $::do_something, $::print. Or if you use [interp alias]
like in the Wiki page mentioned, you have global names back :^)
.
- References:
- lambda... again
- From: yuriy . ershov
- Re: lambda... again
- From: slebetman@xxxxxxxxx
- Re: lambda... again
- From: suchenwi
- Re: lambda... again
- From: slebetman@xxxxxxxxx
- lambda... again
- Prev by Date: Re: lambda... again
- Next by Date: Re: Android on Linux
- Previous by thread: Re: lambda... again
- Next by thread: Re: lambda... again
- Index(es):