Larry Wall wrote:
The need for junctions~~ can easily be called the "DWIM compare" operator. It even looks like you're waving your hands, asking for some strange voodoo to happen. It can also be thought of as "Here! take these two things, do something with them, and tell me how it went". So it's magic central. And magic is invariably a messy thing to implement.
first became evident when we found ourselves filling the ~~ tables
with various sorts of weird non-symmetries.
And once the concept is out there, is makes sense to have practically every combination of types do _something_ useful if fed to ~~. Which makes it where ~~ is likely destined to be one of the most overloaded operators in the history of computing. So be it. It's amazingly useful. It also takes a monstrous amount of the Perl 6 DWIMery and puts it all in one place.
Not to mention, you've already defined P6 to be good at this multi-sub/method game, so take advantage of it. It's not like this table will be represented all in one function.... (at least I hope not)
-- Rod Adams