Skip to content

Commit

Permalink
Rename notresults to negate, to be in line with S03.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed May 29, 2010
1 parent 9085183 commit f2896c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Perl6/Actions.pm
Expand Up @@ -2115,7 +2115,7 @@ method infixish($/) {
unless %*METAOPGEN{$opsub} {
my $helper := "";
if $metaop eq '!' {
$helper := '&notresults';
$helper := '&negate';
} elsif $metaop eq 'R' {
$helper := '&reverseargs';
} elsif $metaop eq 'S' {
Expand Down
4 changes: 2 additions & 2 deletions src/core/metaops.pm
@@ -1,8 +1,8 @@
our multi sub notresults(&op, Mu \$a, Mu \$b) {
our multi sub negate(&op, Mu \$a, Mu \$b) {
!(&op($a, $b));
}

our multi sub notresults(&op) {
our multi sub negate(&op) {
Bool::True;
}

Expand Down

0 comments on commit f2896c3

Please sign in to comment.