Skip to content

Commit

Permalink
Add Mu.print
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed Mar 31, 2012
1 parent f437b48 commit 648c49b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/CORE.setting
Expand Up @@ -225,6 +225,7 @@ my class Mu {
}
method gist() { defined(self) ?? self.perl !! self.typename ~ '()' }
method say() { self.gist.say }
method print() { $*OUT.print(self) }
method Stringy() { self.Str }
method Str() {
if defined(self) {
Expand Down Expand Up @@ -3575,7 +3576,7 @@ my class TextWriter {
method print(*@c) {
# $PROCESS::OUTPUT_USED := True;
Q:CgOp { (rnull (twriter_puts (unbox twriter (@ {self})) (obj_getstr {Niecza::gistcat(|@c)}))) };
Q:CgOp { (rnull (twriter_puts (unbox twriter (@ {self})) (obj_getstr {@c.join("")}))) };
True;
}
Expand Down

0 comments on commit 648c49b

Please sign in to comment.