Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Refactor away distinction between loc_ vtables and local methods
  • Loading branch information
sorear committed Mar 5, 2011
1 parent 105a947 commit ce33cb7
Show file tree
Hide file tree
Showing 3 changed files with 123 additions and 178 deletions.
2 changes: 0 additions & 2 deletions lib/CORE.setting
Expand Up @@ -179,8 +179,6 @@ my class Capture {
# }}}
# Scalar types {{{
my class Num is Cool {
method pred() { (self // 0) - 1 }
method succ() { (self // 0) + 1 }
method ACCEPTS($t) { defined(self) ?? self == $t !! $t.^does(self) }
}

Expand Down

0 comments on commit ce33cb7

Please sign in to comment.