From f5465e1220d73e237c51897b7d1211ec53b0dc04 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 7 Sep 2015 10:37:27 -0700 Subject: 2177 --- html/callcc.mu.html | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'html/callcc.mu.html') diff --git a/html/callcc.mu.html b/html/callcc.mu.html index 805a182e..20ebd83c 100644 --- a/html/callcc.mu.html +++ b/html/callcc.mu.html @@ -13,9 +13,11 @@ pre { white-space: pre-wrap; font-family: monospace; color: #eeeeee; background-color: #080808; } body { font-family: monospace; color: #eeeeee; background-color: #080808; } * { font-size: 1.05em; } +.muRecipe { color: #ff8700; } .Comment { color: #9090ff; } +.Constant { color: #00a0a0; } .Special { color: #ff6060; } -.Identifier { color: #804000; } +.muControl { color: #c0a020; } --> @@ -29,20 +31,20 @@ body { font-family: monospace; color: #eeeeee; background-color: #080808; }
 # example program: saving and reusing call-stacks or continuations
 
-recipe main [
+recipe main [
   c:continuation <- f
-  continue-from c                         # <-- ..when you hit this
+  continue-from c                         # <-- ..when you hit this
 ]
 
-recipe f [
+recipe f [
   c:continuation <- g
-  reply c
+  reply c
 ]
 
-recipe g [
-  c:continuation <- current-continuation  # <-- loop back to here
-  $print 1
-  reply c  # threaded through unmodified after first iteration
+recipe g [
+  c:continuation <- current-continuation  # <-- loop back to here
+  $print 1
+  reply c  # threaded through unmodified after first iteration
 ]
 
-- cgit 1.4.1-2-gfad0