On Tue, 14 Jan 2003 17:18:22 -0500, Dan Sugalski <[EMAIL PROTECTED]> wrote:

Dan:
You're off. It'll be something like:

callmethod Px, "method_name"

or

jmpmethod Px, "method_name"
Jonathan:
Is there going to be any way to (in PASM) find a method with out invoking
it? I am not sure, but it may be useful for currying and some efficiency
stuff (like moving dispatch outside of a loop that repeatedly invokes a
method).
Dan:
Yep. There should be a can operator, though I'm not sure how often one wants to check for the existence of a method in an object without calling it. But no reason not to. More for rev 2.
I think what Jonathan asked for was an operator for returning a method (as an object)
which can be invoked later with some arguments (or even applied with a partial list
of arguments for currying).
This would be a lot more useful than a yes-or-no answer about the existence
of a method.


--
Adriano

Reply via email to