Skip to content

Commit

Permalink
Since we can now refer to &infix:<cmp> directly, do that instead
Browse files Browse the repository at this point in the history
of going through PIR to access it.
  • Loading branch information
pmichaud committed Feb 26, 2010
1 parent 4ab4b82 commit 7680ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Seq.pm
Expand Up @@ -5,7 +5,7 @@ augment class Seq {
pir::join(' ', self!fill);
}

multi method sort(&by = pir::get_hll_global__Ps('&infix:<cmp>')) {
multi method sort(&by = &infix:<cmp>) {
# Parrot already provides a sort method that works on
# ResizablePMCArray, so we aim to make use of that here.
# Instead of sorting the elements directly, we sort an RPA
Expand Down

0 comments on commit 7680ab4

Please sign in to comment.