diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-02-01 00:15:43 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-02-01 00:15:43 -0800 |
commit | 7d2c2d55e83325a5efb66af0a033b94583fca70e (patch) | |
tree | 0bade19ad9230f2aa6076440548b50456c9f6fd8 /tangle.mu | |
parent | 48a74397fb1a967fffa67ffb80005d94ed2ac60c (diff) | |
download | mu-7d2c2d55e83325a5efb66af0a033b94583fca70e.tar.gz |
690 - convention: '$' commands for debugging only
Swap printing generalized objects using arc's infrastructure to be the $-prefixed debug helper, while the erstwhile $print-key-to-host becomes the primitive print-character to host.
Diffstat (limited to 'tangle.mu')
-rw-r--r-- | tangle.mu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tangle.mu b/tangle.mu index 720b531f..3e73dd89 100644 --- a/tangle.mu +++ b/tangle.mu @@ -29,7 +29,7 @@ (function main [ (1:integer <- factorial 5:literal) - (print-primitive-to-host (("result: " literal))) + ($print (("result: " literal))) (print-integer nil:literal/terminal 1:integer) - (print-primitive-to-host (("\n" literal))) + (print-character nil:literal/terminal ((#\newline literal))) ]) |