about summary refs log tree commit diff stats
path: root/html/callcc.mu.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/callcc.mu.html')
-rw-r--r--html/callcc.mu.html20
1 files changed, 9 insertions, 11 deletions
diff --git a/html/callcc.mu.html b/html/callcc.mu.html
index 20ebd83c..805a182e 100644
--- a/html/callcc.mu.html
+++ b/html/callcc.mu.html
@@ -13,11 +13,9 @@
 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; }
-.muControl { color: #c0a020; }
+.Identifier { color: #804000; }
 -->
 </style>
 
@@ -31,20 +29,20 @@ body { font-family: monospace; color: #eeeeee; background-color: #080808; }
 <pre id='vimCodeElement'>
 <span class="Comment"># example program: saving and reusing call-stacks or continuations</span>
 
-<span class="muRecipe">recipe</span> main [
+recipe main [
   c:continuation<span class="Special"> &lt;- </span>f
-  <span class="muControl">continue-from</span> c                         <span class="Comment"># &lt;-- ..when you hit this</span>
+  continue-from c                         <span class="Comment"># &lt;-- ..when you hit this</span>
 ]
 
-<span class="muRecipe">recipe</span> f [
+recipe f [
   c:continuation<span class="Special"> &lt;- </span>g
-  <span class="muControl">reply</span> c
+  reply c
 ]
 
-<span class="muRecipe">recipe</span> g [
-  c:continuation<span class="Special"> &lt;- </span><span class="muControl">current-continuation</span>  <span class="Comment"># &lt;-- loop back to here</span>
-  $print <span class="Constant">1</span>
-  <span class="muControl">reply</span> c  <span class="Comment"># threaded through unmodified after first iteration</span>
+recipe g [
+  c:continuation<span class="Special"> &lt;- </span>current-continuation  <span class="Comment"># &lt;-- loop back to here</span>
+  $<span class="Identifier">print</span> 1
+  reply c  <span class="Comment"># threaded through unmodified after first iteration</span>
 ]
 </pre>
 </body>