about summary refs log tree commit diff stats
path: root/html/global.mu.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-17 15:01:51 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-17 15:01:51 -0700
commitf344b250f6f062a1a1902bf69b23ebf9b565de0e (patch)
tree199bd32a9aee198d5028b1c21b83d2cf0944b2b6 /html/global.mu.html
parent897ae8c1855f830d8819759ea327d147f28a09bf (diff)
downloadmu-f344b250f6f062a1a1902bf69b23ebf9b565de0e.tar.gz
3395
Diffstat (limited to 'html/global.mu.html')
-rw-r--r--html/global.mu.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/html/global.mu.html b/html/global.mu.html
index 3c0b8e86..e70038c7 100644
--- a/html/global.mu.html
+++ b/html/global.mu.html
@@ -32,15 +32,15 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color
 
 <span class="muRecipe">def</span> main [
   <span class="Comment"># allocate 5 locations for globals</span>
-  <span class="Constant">global-space</span>:address:array:location<span class="Special"> &lt;- </span>new <span class="Constant">location:type</span>, <span class="Constant">5</span>
+  <span class="Constant">global-space</span>:space<span class="Special"> &lt;- </span>new <span class="Constant">location:type</span>, <span class="Constant">5</span>
   <span class="Comment"># read to globals by using /space:global</span>
-  <span class="Special">1:number/space:global</span><span class="Special"> &lt;- </span>copy <span class="Constant">3</span>
+  <span class="Special">1:num/space:global</span><span class="Special"> &lt;- </span>copy <span class="Constant">3</span>
   foo
 ]
 
 <span class="muRecipe">def</span> foo [
   <span class="Comment"># ditto for writing to globals</span>
-  $print <span class="Special">1:number/space:global</span>, <span class="Constant">10/newline</span>
+  $print <span class="Special">1:num/space:global</span>, <span class="Constant">10/newline</span>
 ]
 </pre>
 </body>