At 3:58 PM -0400 4/22/04, Aaron Sherman wrote:
On Wed, 2004-04-21 at 15:46, Larry Wall wrote:
 On Wed, Apr 21, 2004 at 03:15:37PM -0400, Dan Sugalski wrote:
 : The math folks tell me it makes sense. I can come up with a
 : half-dozen non-contrived examples, and will if I have to. :-P

 I've said this before, and I'll keep repeating it till it sinks in.
 The math folks are completely, totally, blazingly untrustworthy on
 this subject. [...] They can't have my »« without a fight.

Ah... now you see the true face of the age-old Linguistics-Mathematics wars! ;-)

Just to be clear here, for the archive:


Perl 6's hyper operators *will* use hyper vtable slots in the PMCs, and will use the hyper versions of the opcodes. Leo and I are going to fight out the "Do we have lots of ops or do we use a shift opcode" implementation details. Whether or not Larry allows overriding the hyper vtable slots in the base grammar is up to him. So:

    $a = $b + $c     # VTABLE_add($b, $c, $a)
    $a = $b[1] + $c  # VTABLE_add_keyed($b, key(1), $c, key(), $a, key())
    $a = $b >>+<< $c # VTABLE_add_hyper($b, $c, $a)

The default hyper functions will do whatever piecewise activity is defined, though I expect that'll be overridden in a few unusual cases.
--
Dan


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to