Closures python,scheme,ruby

Bengt Richter bokr at oz.net
Fri Jul 16 00:53:00 EDT 2004


On Thu, 15 Jul 2004 20:49:18 -0700, "Robert Brewer" <fumanchu at amor.org> wrote:

>Bengt Richter wrote:
>> ...What if
>>     x <=3D expr
>> meant evaluate expr and then
>> find x (as if to do a read access) and rebind it, whatever=20
>> name space it's found in?
>
>Sure, except overloading "less-than-or-equal-to" might be a small
>problem. ;)
>
D'oh. I had it as
    x <- expr
but then I wanted to bring in the assignment = and changed it
without thinking *<8^P
I guess <- is still available, if the tokenizer were made to
look ahead to recognize it instead of the individual < and -
so
   x <- expr
wouldn't mean
   x < -expr
;-)
Regards,
Bengt Richter



More information about the Python-list mailing list