Skip to content

Commit

Permalink
Merge branch 'nom' into newio
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Jan 3, 2015
2 parents 44cb1d7 + 167f5f4 commit 0ae5d10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/List.pm
Expand Up @@ -702,4 +702,6 @@ sub splice(@arr, $offset = 0, $size?, *@values) {
@arr.splice($offset, $size, @values)
}

multi sub infix:<cmp>(@a, @b) { (@a Zcmp @b).first(&prefix:<?>) || @a <=> @b }

# vim: ft=perl6 expandtab sw=4

0 comments on commit 0ae5d10

Please sign in to comment.