[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: first class ':'
- From: Rob Hoelz <rob@...>
- Date: Tue, 15 Sep 2009 10:41:43 -0500
On Tue, 15 Sep 2009 08:27:01 -0700
Mark Hamburg <mark@grubmah.com> wrote:
> Here's a subtlety regard method currying: Does obj:method ==
> obj:method -- i.e., do the results of currying get cached? I'm
> inclined to say no because it would considerably complicate the
> implementation, but then I wonder about how to enable it for cases
> where it's needed. Here is a use case for caching:
>
> observed:addObserver( observer:callback )
> ... later ...
> observed:removeObserver( observer:callback )
>
> Mark
>
Along that same line:
setfenv(object:method, {foo = 'bar'})
-Rob
Attachment:
signature.asc
Description: PGP signature
- References:
- Regarding the name 'pairs', TNHarris
- Re: Regarding the name 'pairs', TNHarris
- Re: Regarding the name 'pairs', TNHarris
- Re: Regarding the name 'pairs', Miles Bader
- Re: Regarding the name 'pairs', Luiz Henrique de Figueiredo
- Re: Regarding the name 'pairs', steve donovan
- Re: Regarding the name 'pairs', Roberto Ierusalimschy
- Re: first class ':', froese
- Re: first class ':', David Kastrup
- Re: first class ':', steve donovan
- Re: first class ':', Mark Hamburg