about summary refs log tree commit diff stats
path: root/html/045closure_name.cc.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-07-20 18:05:56 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-07-20 18:05:56 -0700
commite81da299fb49bd79cd460d477ec0bb673035620a (patch)
treee4b162be797dcb6d2793a5f7831c6c39bd099a85 /html/045closure_name.cc.html
parentedfc4cf8ac21a30307cd36bb9cff6a4a8b92dee7 (diff)
downloadmu-e81da299fb49bd79cd460d477ec0bb673035620a.tar.gz
3117
Diffstat (limited to 'html/045closure_name.cc.html')
-rw-r--r--html/045closure_name.cc.html3
1 files changed, 0 insertions, 3 deletions
diff --git a/html/045closure_name.cc.html b/html/045closure_name.cc.html
index 66b899f0..210327f6 100644
--- a/html/045closure_name.cc.html
+++ b/html/045closure_name.cc.html
@@ -45,14 +45,12 @@ def main [
   <span class="Constant">2</span>:number/<span class="Special">raw &lt;- </span>increment-counter <span class="Constant">1</span>:address:array:location/names:<span class="Normal">new</span>-counter
   <span class="Constant">3</span>:number/<span class="Special">raw &lt;- </span>increment-counter <span class="Constant">1</span>:address:array:location/names:<span class="Normal">new</span>-counter
 ]
-
 def <span class="Normal">new</span>-counter [
   <span class="Normal">default</span>-space:address:array:location<span class="Special"> &lt;- </span><span class="Normal">new</span> location:type<span class="Delimiter">,</span> <span class="Constant">30</span>
   <span class="Normal">x</span>:number<span class="Special"> &lt;- </span>copy <span class="Constant">23</span>
   <span class="Normal">y</span>:number<span class="Special"> &lt;- </span>copy <span class="Constant">3</span>  <span class="Comment"># variable that will be incremented</span>
   <span class="Identifier">return</span> <span class="Normal">default</span>-space:address:array:location
 ]
-
 def increment-counter [
   <span class="Normal">default</span>-space:address:array:location<span class="Special"> &lt;- </span><span class="Normal">new</span> location:type<span class="Delimiter">,</span> <span class="Constant">30</span>
   <span class="Constant">0</span>:address:array:location/names:<span class="Normal">new</span>-counter<span class="Special"> &lt;- </span>next-ingredient  <span class="Comment"># outer space must be created by 'new-counter' above</span>
@@ -60,7 +58,6 @@ def increment-counter [
   <span class="Normal">y</span>:number<span class="Special"> &lt;- </span>copy <span class="Constant">234</span>  <span class="Comment"># dummy</span>
   <span class="Identifier">return</span> y:number/space:<span class="Constant">1</span>
 ]
-
 <span class="traceContains">+name: lexically surrounding space for recipe increment-counter comes from new-counter</span>
 <span class="traceContains">+mem: storing 5 in location 3</span>