diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-01-17 17:00:44 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-01-17 17:00:44 -0800 |
commit | 4b62edd8a63cfdde37b0537c9be1e91062bb2892 (patch) | |
tree | aa714446d5890b25348c54c6f5fe9a7277165f28 /factorial.mu | |
parent | 7990aea904686272fb50bb81cea8f60716901b3a (diff) | |
download | mu-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 'factorial.mu')
-rw-r--r-- | factorial.mu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/factorial.mu b/factorial.mu index 703ee6a9..67448595 100644 --- a/factorial.mu +++ b/factorial.mu @@ -17,6 +17,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))) ]) |