Skip to content

Commit

Permalink
give TimToday++ his Mu.not
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Sep 28, 2010
1 parent 0bf6cbe commit bd836a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.pm
Expand Up @@ -1447,7 +1447,7 @@ token setup_quotepairs { '' }
token cleanup_modifiers { '' }

token quote:sym<s> {
<sym> >>
<sym> (s)? >>
[ <quotepair> <.ws> ]*
:my @*REGEX_ADVERBS;
{ @*REGEX_ADVERBS := $<quotepair>; }
Expand Down
1 change: 1 addition & 0 deletions src/core/Mu.pm
Expand Up @@ -15,6 +15,7 @@ augment class Mu {
}

multi method so() { self.Bool }
multi method not() { self ?? False !! True }

multi method perl() {
my sub typename(Mu $x) { pir::typeof__SP($x) };
Expand Down

0 comments on commit bd836a4

Please sign in to comment.