about summary refs log tree commit diff stats
path: root/counters.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 /counters.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 'counters.mu')
-rw-r--r--counters.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/counters.mu b/counters.mu
index 243d22d5..0b7a4882 100644
--- a/counters.mu
+++ b/counters.mu
@@ -24,9 +24,9 @@
   (ares:integer <- increment-counter a:space-address 1:literal)
   ; check results
   (print-primitive-to-host (("Contents of counters a: " literal)))
-  (print-primitive nil:literal/terminal ares:integer)
+  (print-integer nil:literal/terminal ares:integer)
   (print-primitive-to-host ((" b: " literal)))
-  (print-primitive nil:literal/terminal bres:integer)
+  (print-integer nil:literal/terminal bres:integer)
   (print-primitive-to-host (("\n" literal)))
  ])