Skip to content

Commit

Permalink
Make ne consistent with !eq and != consistent with !==.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed May 28, 2010
1 parent 51874cc commit 63c5a5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/operators.pm
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ our multi infix:<==>($a, $b) {
pir::iseq__INN(+$a, +$b) ?? True !! False
}

our multi infix:<!=>($a, $b) {
our multi infix:<!=>(Mu $a, Mu $b) {
$a !== $b
}

Expand All @@ -238,7 +238,7 @@ our multi infix:<eq>($a, $b) {
pir::iseq__ISS(~$a, ~$b) ?? True !! False
}

our multi infix:<ne>($a, $b) {
our multi infix:<ne>(Mu $a, Mu $b) {
$a !eq $b
}

Expand Down

0 comments on commit 63c5a5c

Please sign in to comment.