Skip to content

Commit

Permalink
Rewrite Any.abs to dispatch to the proper Numeric role.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Apr 1, 2010
1 parent 7d00af1 commit 0dcfc67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Any-num.pm
@@ -1,6 +1,6 @@
augment class Any {
method abs() {
pir::abs__Nn(self.Num);
(+self).abs;
}

multi method exp() {
Expand Down

0 comments on commit 0dcfc67

Please sign in to comment.