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-17 17:00:44 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-01-17 17:00:44 -0800
commit4b62edd8a63cfdde37b0537c9be1e91062bb2892 (patch)
treeaa714446d5890b25348c54c6f5fe9a7277165f28 /tangle.mu
parent7990aea904686272fb50bb81cea8f60716901b3a (diff)
downloadmu-4b62edd8a63cfdde37b0537c9be1e91062bb2892.tar.gz
578 - switch to non-polymorphic 'print' functions
Also clean up various prints from last few commits.
As a convention, for debugging we always print directly to host.
Diffstat (limited to 'tangle.mu')
-rw-r--r--tangle.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/tangle.mu b/tangle.mu
index 24940986..720b531f 100644
--- a/tangle.mu
+++ b/tangle.mu
@@ -30,6 +30,6 @@
 (function main [
   (1:integer <- factorial 5:literal)
   (print-primitive-to-host (("result: " literal)))
-  (print-primitive nil:literal/terminal 1:integer)
+  (print-integer nil:literal/terminal 1:integer)
   (print-primitive-to-host (("\n" literal)))
 ])