in reply to Re^2: sort +*, @array
in thread sort +*, @array

That's not an ST, it's at best an Orcish Maneuver. (Or simply shorthand for {$a<=>$b}.)

Some may quibble ...

And some may simply stop reading misinformation...


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^4: sort +*, @array (misinformation)
by raiph (Deacon) on Dec 10, 2013 at 07:10 UTC
    It's not an Orcish Maneuver.

    The original example +* (reads "numeric context Whatever") is syntactic sugar for the one arg closure {+*} which is in turn treated by the P6 sort builtin as a key extractor and results in use of the comparator closure {$a<=>$b}.

    I've realized I didn't make it clear that my response to your challenge contained two parts and you needed to read both to see the ST equivalence. I suspect you didn't read both. I've updated it to try make things clearer.