"Michael Lazzaro" <[EMAIL PROTECTED]> wrote > > Some of those might be appropriate (or just amusing). :-)
I still like partition (or simply C<part>). Segregate (c<seg>) might also work I notice everyone still want Int context for eval of the block: Pease don't forget about hashes. Is there such a thing as 'hashkey context'? Perl6 is much better than Perl5 for naming parameters. Could we make the following work? ( low=>@under, mid=>@in_range, high=>@over ) = partition @input -> $v { $v < 10 ?? "low" :: $v > 20 ?? "high" :: "mid"; }; Also, can I return superpositions (sorry, junctions), to provide multiple classifications? Or would I return an array for that? Dave.