Skip to content

Commit

Permalink
Clean up &infix:<cmp>(Int, Int).
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Aug 6, 2010
1 parent 035efb0 commit 0e5edb5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/Int.pm
Expand Up @@ -55,6 +55,10 @@ multi sub infix:«>=»(Int $a, Int $b) {
pir::isge__III( $a, $b) ?? True !! False
}

multi sub infixcmp»(Int $a, Int $b) {
pir::cmp__III($a, $b);
}

# Should pull along the other Int comparison operators at some point,
# but this is a great start.

Expand Down

0 comments on commit 0e5edb5

Please sign in to comment.