about summary refs log tree commit diff stats
path: root/tangle.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-01-16 16:35:08 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-01-16 16:35:08 -0800
commitcbecfe10f9754dbec52659c15834aefcb3d5d2ac (patch)
treea2162478a5aacae9d3cc8767bb102984b9e63718 /tangle.mu
parentd2db5af7b82a935dc2929a1db2e6d13db660be89 (diff)
downloadmu-cbecfe10f9754dbec52659c15834aefcb3d5d2ac.tar.gz
574 - printing string literals is a hack; hard-code it in for now
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 1004ef15..24940986 100644
--- a/tangle.mu
+++ b/tangle.mu
@@ -29,7 +29,7 @@
 
 (function main [
   (1:integer <- factorial 5:literal)
-  (print-primitive nil:literal/terminal (("result: " literal)))
+  (print-primitive-to-host (("result: " literal)))
   (print-primitive nil:literal/terminal 1:integer)
-  (print-primitive nil:literal/terminal (("\n" literal)))
+  (print-primitive-to-host (("\n" literal)))
 ])