At 01:27 PM 9/4/2001 -0500, David L. Nicol wrote:
>Dan Sugalski wrote:
>
> > It'll probably be something like "Here's the function name. Here's the
> > parameters. Do The Right Thing." I don't think there's much need for
> > cleverness on the part of the interface. The actual dispatch code could be
> > nasty, but that's someone else's problem. :)
>
>What form are the parameters in? Blessed perl references?
PMCs. This sort of code would be operating a step below the normal perl level.
>Are there
>flags to indicate lexically constant information, such as "this will
>always be a stuffed animal of some kind even though it might not
>always be a medium Gund polar bear, and all stuffed animals have
>a machine_washable_p() method" for optimization purposes?
Dunno. Probably not, but if the language is designed such that we can count
on things like that, it'd be fine by me.
>That is the need for cleverness on the part of the interface. Without
>a standard way to say this is constant, this is dynamic there isn't
>much gain over writing redispatch functions.
Umm.... all this is is a redispatch function.
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk