From be440cb6bf9fbdf317215cff2336cee63c7828ac Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 8 Dec 2014 19:19:16 -0800 Subject: 399 - fix mu examples Thanks Kristis Makris for the bug report. --- channel.mu | 4 ++-- fork.mu | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/channel.mu b/channel.mu index c56e8889..3cd5ea0a 100644 --- a/channel.mu +++ b/channel.mu @@ -18,7 +18,7 @@ ((n3 tagged-value-address) <- new-tagged-value (integer-address literal) (n2 integer-address)) ((chan channel-address deref) <- write (chan channel-address) (n3 tagged-value-address deref)) ((n integer) <- add (n integer) (1 literal)) - (continue) + (loop) } ]) @@ -35,7 +35,7 @@ (print-primitive ("consume: " literal)) (print-primitive (n2 integer-address deref)) (print-primitive ("\n" literal)) - (continue) + (loop) } ]) diff --git a/fork.mu b/fork.mu index b392dc7f..6366a208 100644 --- a/fork.mu +++ b/fork.mu @@ -4,7 +4,7 @@ ((x integer) <- copy (34 literal)) { begin (print-primitive (x integer)) - (continue) + (loop) } ]) @@ -13,6 +13,6 @@ ((y integer) <- copy (35 literal)) { begin (print-primitive (y integer)) - (continue) + (loop) } ]) -- cgit 1.4.1-2-gfad0