On Fri, 15 Nov 2002, Me wrote: > > My complete knowledge comes from > > archive.develooper.com/perl6-language... > > (search for "superpositions"). > > I find google (rather than develooper's > archive/search) the best tool for most > searching of p6lang. Unfortunately even > google only goes back so far, and doesn't > search punctuation.
Actually, what I intended was: 1. Go to the page mentioned 2. Use your web browser's built in search feature to search within the page for "superpositions". > > Since I don't understand what ~~ does, > > Polymorphic equals. > > Smart match. > > The old =~ operator was a specific variant > of this general idea. > > More generally, based on an a table of what > to do for the various LHS/RHS combinations, > a value is picked from the LHS and compared > with a value picked from the RHS. The overall > hope is it just DWIMs. Ok. I think I see what Mr. Duff was suggesting. He was wanting the result of each comparison added to the junction represented by $j0. If this is possible, it'd cover it pretty well; not the optimal syntax, but considering how often most people would use it, probably not too important. Or, we could have $truecount and $falsecount as junctions that automatically are set the way $j0 is set, and then we could use the junction functions on them (is there anything else which rhymes with junction? :) ). :) --------------------------------------------------------------------- | Name: Tim Nelson | Because the Creator is, | | E-mail: [EMAIL PROTECTED] | I am | --------------------------------------------------------------------- ----BEGIN GEEK CODE BLOCK---- Version 3.1 GCS d? s: a-- C++>++++$ US+ P++ L++ E- W+++ N+ w+> M-- V- Y+>++ PGP->++ R(+) !tv B++ DI++++ D+ G e>++ h!/* y- -----END GEEK CODE BLOCK-----