about summary refs log tree commit diff stats
path: root/tangle.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-02-01 00:15:43 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-02-01 00:15:43 -0800
commit7d2c2d55e83325a5efb66af0a033b94583fca70e (patch)
tree0bade19ad9230f2aa6076440548b50456c9f6fd8 /tangle.mu
parent48a74397fb1a967fffa67ffb80005d94ed2ac60c (diff)
downloadmu-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.mu4
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)))
 ])