Re: MMD table setup semantics

2004-05-27 Thread Dan Sugalski
At 3:35 PM +0100 5/27/04, Nicholas Clark wrote: On Wed, Apr 28, 2004 at 06:36:34PM -0400, Dan Sugalski wrote: At 2:56 PM -0700 4/28/04, Larry Wall wrote: >On Wed, Apr 28, 2004 at 05:20:53PM -0400, Dan Sugalski wrote: >: The second question is "if we do, how do we figure which method is >: clos

Re: MMD table setup semantics

2004-05-27 Thread Nicholas Clark
On Wed, Apr 28, 2004 at 06:36:34PM -0400, Dan Sugalski wrote: > At 2:56 PM -0700 4/28/04, Larry Wall wrote: > >On Wed, Apr 28, 2004 at 05:20:53PM -0400, Dan Sugalski wrote: > >: The second question is "if we do, how do we figure which method is > >: closest?" > >: > >: Personally I'm of the geomet

Re: MMD table setup semantics

2004-04-30 Thread Dan Sugalski
At 9:37 AM -0400 4/29/04, William Coleda wrote: Leopold Toetsch wrote: - TclInt - TclFloat - TclObject - TclString This is a small subset of PMCs enumerating *current* scalars. I can't imagine that e.g. tcl is happy, when a tcl scalar falls back to a morphing variant of a Perl scalar. OTOH just doi

Re: MMD table setup semantics

2004-04-30 Thread William Coleda
Leopold Toetsch wrote: - TclInt - TclFloat - TclObject - TclString This is a small subset of PMCs enumerating *current* scalars. I can't imagine that e.g. tcl is happy, when a tcl scalar falls back to a morphing variant of a Perl scalar. OTOH just doing the math operations would be fine. So what'

Re: MMD table setup semantics

2004-04-29 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > Personally I'm of the geometric distance school here, but it can get > a bit tricky, so I'm all for discussion on it. So... let's have at > it. :) If you can provide a distance table for these PMCs: - PerlUndef - PerlInt - PerlNum - PerlString - Integer -

Re: MMD table setup semantics

2004-04-28 Thread Dan Sugalski
At 2:56 PM -0700 4/28/04, Larry Wall wrote: On Wed, Apr 28, 2004 at 05:20:53PM -0400, Dan Sugalski wrote: : The first question is... *should* we synthesize anything at all? I'd : argue yes, but at this level I can see it going either way. Probably, in general. It's the equivalent of a method cache

Re: MMD table setup semantics

2004-04-28 Thread Larry Wall
On Wed, Apr 28, 2004 at 05:20:53PM -0400, Dan Sugalski wrote: : The first question is... *should* we synthesize anything at all? I'd : argue yes, but at this level I can see it going either way. Probably, in general. It's the equivalent of a method cache. But maybe some people will want to take

MMD table setup semantics

2004-04-28 Thread Dan Sugalski
Since we're doing this, we need to set up some basic semantics as to what happens when we add things into the table. It's pretty simple when dealing with the actual types--put a function in for an Matrix and an Integer and we should call it when we have a Matrix and an Integer. The more interes