about summary refs log tree commit diff stats
path: root/html/edit/011-errors.mu.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-06-24 16:00:44 -0700
committerKartik K. Agaram <vc@akkartik.com>2017-06-24 16:00:44 -0700
commitaac2775a4d30459c3090569b26e81ba18f1423a7 (patch)
tree4dfec62ec660fa9a0297cfc813b133286d3ece2e /html/edit/011-errors.mu.html
parentd467b0a5b2ebf4e3bbfb510ca317e6141cce0d06 (diff)
downloadmu-aac2775a4d30459c3090569b26e81ba18f1423a7.tar.gz
3951
Diffstat (limited to 'html/edit/011-errors.mu.html')
-rw-r--r--html/edit/011-errors.mu.html122
1 files changed, 61 insertions, 61 deletions
diff --git a/html/edit/011-errors.mu.html b/html/edit/011-errors.mu.html
index 45781d13..85778a7a 100644
--- a/html/edit/011-errors.mu.html
+++ b/html/edit/011-errors.mu.html
@@ -68,18 +68,18 @@ if ('onhashchange' in window) {
 <span id="L5" class="LineNr">  5 </span>]
 <span id="L6" class="LineNr">  6 </span>
 <span id="L7" class="LineNr">  7 </span><span class="Comment"># copy code from recipe editor, persist to disk, load, save any errors</span>
-<span id="L8" class="LineNr">  8 </span><span class="muRecipe">def!</span> update-recipes env:&amp;:environment, <a href='../088file.mu.html#L11'>resources</a>:&amp;:<a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>:&amp;:<a href='../081print.mu.html#L4'>screen</a><span class="muRecipe"> -&gt; </span>errors-found?:bool, env:&amp;:environment, <a href='../088file.mu.html#L11'>resources</a>:&amp;:<a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>:&amp;:<a href='../081print.mu.html#L4'>screen</a> [
+<span id="L8" class="LineNr">  8 </span><span class="muRecipe">def!</span> update-recipes env:&amp;:environment, <a href='../088file.mu.html#L11'>resources</a>:&amp;:<a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a><span class="muRecipe"> -&gt; </span>errors-found?:bool, env:&amp;:environment, <a href='../088file.mu.html#L11'>resources</a>:&amp;:<a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a> [
 <span id="L9" class="LineNr">  9 </span>  <span class="Constant">local-scope</span>
 <span id="L10" class="LineNr"> 10 </span>  <span class="Constant">load-ingredients</span>
 <span id="L11" class="LineNr"> 11 </span>  recipes:&amp;:editor <span class="Special">&lt;-</span> get *env, <span class="Constant">recipes:offset</span>
-<span id="L12" class="LineNr"> 12 </span>  in:text <span class="Special">&lt;-</span> <a href='005-sandbox.mu.html#L642'>editor-contents</a> recipes
+<span id="L12" class="LineNr"> 12 </span>  in:text <span class="Special">&lt;-</span> <a href='005-sandbox.mu.html#L669'>editor-contents</a> recipes
 <span id="L13" class="LineNr"> 13 </span>  <a href='../088file.mu.html#L11'>resources</a> <span class="Special">&lt;-</span> <a href='../088file.mu.html#L127'>dump</a> <a href='../088file.mu.html#L11'>resources</a>, <span class="Constant">[lesson/recipes.mu]</span>, in
 <span id="L14" class="LineNr"> 14 </span>  recipe-errors:text <span class="Special">&lt;-</span> reload in
 <span id="L15" class="LineNr"> 15 </span>  *env <span class="Special">&lt;-</span> put *env, <span class="Constant">recipe-errors:offset</span>, recipe-errors
 <span id="L16" class="LineNr"> 16 </span>  <span class="Comment"># if recipe editor has errors, stop</span>
 <span id="L17" class="LineNr"> 17 </span>  <span class="Delimiter">{</span>
 <span id="L18" class="LineNr"> 18 </span>  <span class="Conceal">¦</span> <span class="muControl">break-unless</span> recipe-errors
-<span id="L19" class="LineNr"> 19 </span>  <span class="Conceal">¦</span> <a href='005-sandbox.mu.html#L219'>update-status</a> <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[errors found     ]</span>, <span class="Constant">1/red</span>
+<span id="L19" class="LineNr"> 19 </span>  <span class="Conceal">¦</span> <a href='005-sandbox.mu.html#L219'>update-status</a> <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[errors found     ]</span>, <span class="Constant">1/red</span>
 <span id="L20" class="LineNr"> 20 </span>  <span class="Conceal">¦</span> errors-found? <span class="Special">&lt;-</span> copy <span class="Constant">1/true</span>
 <span id="L21" class="LineNr"> 21 </span>  <span class="Conceal">¦</span> <span class="muControl">return</span>
 <span id="L22" class="LineNr"> 22 </span>  <span class="Delimiter">}</span>
@@ -94,11 +94,11 @@ if ('onhashchange' in window) {
 <span id="L31" class="LineNr"> 31 </span>  <span class="Conceal">¦</span> left:num <span class="Special">&lt;-</span> get *recipes, <span class="Constant">left:offset</span>
 <span id="L32" class="LineNr"> 32 </span>  <span class="Conceal">¦</span> right:num <span class="Special">&lt;-</span> get *recipes, <span class="Constant">right:offset</span>
 <span id="L33" class="LineNr"> 33 </span>  <span class="Conceal">¦</span> row:num <span class="Special">&lt;-</span> get *env, <span class="Constant">recipe-bottom:offset</span>
-<span id="L34" class="LineNr"> 34 </span>  <span class="Conceal">¦</span> row, <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='005-sandbox.mu.html#L366'>render-text</a> <a href='../081print.mu.html#L4'>screen</a>, recipe-errors, left, right, <span class="Constant">1/red</span>, row
+<span id="L34" class="LineNr"> 34 </span>  <span class="Conceal">¦</span> row, <a href='../081print.mu.html#L16'>screen</a> <span class="Special">&lt;-</span> <a href='005-sandbox.mu.html#L393'>render-text</a> <a href='../081print.mu.html#L16'>screen</a>, recipe-errors, left, right, <span class="Constant">1/red</span>, row
 <span id="L35" class="LineNr"> 35 </span>  <span class="Conceal">¦</span> <span class="Comment"># draw dotted line after recipes</span>
-<span id="L36" class="LineNr"> 36 </span>  <span class="Conceal">¦</span> <a href='002-typing.mu.html#L1116'>draw-horizontal</a> <a href='../081print.mu.html#L4'>screen</a>, row, left, right, <span class="Constant">9480/horizontal-dotted</span>
+<span id="L36" class="LineNr"> 36 </span>  <span class="Conceal">¦</span> <a href='002-typing.mu.html#L1116'>draw-horizontal</a> <a href='../081print.mu.html#L16'>screen</a>, row, left, right, <span class="Constant">9480/horizontal-dotted</span>
 <span id="L37" class="LineNr"> 37 </span>  <span class="Conceal">¦</span> row <span class="Special">&lt;-</span> add row,<span class="Constant"> 1</span>
-<span id="L38" class="LineNr"> 38 </span>  <span class="Conceal">¦</span> <a href='001-editor.mu.html#L207'>clear-screen-from</a> <a href='../081print.mu.html#L4'>screen</a>, row, left, left, right
+<span id="L38" class="LineNr"> 38 </span>  <span class="Conceal">¦</span> <a href='001-editor.mu.html#L207'>clear-screen-from</a> <a href='../081print.mu.html#L16'>screen</a>, row, left, left, right
 <span id="L39" class="LineNr"> 39 </span>  <span class="Delimiter">}</span>
 <span id="L40" class="LineNr"> 40 </span>]
 <span id="L41" class="LineNr"> 41 </span>
@@ -131,7 +131,7 @@ if ('onhashchange' in window) {
 <span id="L68" class="LineNr"> 68 </span>  <span class="Conceal">¦</span> <span class="muControl">break-if</span> sandboxes-completed-successfully?
 <span id="L69" class="LineNr"> 69 </span>  <span class="Conceal">¦</span> error-index-text:text <span class="Special">&lt;-</span> to-text error-index
 <span id="L70" class="LineNr"> 70 </span>  <span class="Conceal">¦</span> status:text <span class="Special">&lt;-</span> <a href='../061text.mu.html#L521'>interpolate</a> <span class="Constant">[errors found (_)    ]</span>, error-index-text
-<span id="L71" class="LineNr"> 71 </span>  <span class="Conceal">¦</span> <a href='005-sandbox.mu.html#L219'>update-status</a> <a href='../081print.mu.html#L4'>screen</a>, status, <span class="Constant">1/red</span>
+<span id="L71" class="LineNr"> 71 </span>  <span class="Conceal">¦</span> <a href='005-sandbox.mu.html#L219'>update-status</a> <a href='../081print.mu.html#L16'>screen</a>, status, <span class="Constant">1/red</span>
 <span id="L72" class="LineNr"> 72 </span>  <span class="Delimiter">}</span>
 <span id="L73" class="LineNr"> 73 </span>]
 <span id="L74" class="LineNr"> 74 </span>
@@ -143,14 +143,14 @@ if ('onhashchange' in window) {
 <span id="L80" class="LineNr"> 80 </span>  <span class="Constant">local-scope</span>
 <span id="L81" class="LineNr"> 81 </span>  <span class="Constant">load-ingredients</span>
 <span id="L82" class="LineNr"> 82 </span>  data:text <span class="Special">&lt;-</span> get *sandbox, <span class="Constant">data:offset</span>
-<span id="L83" class="LineNr"> 83 </span>  response:text, errors:text, fake-screen:&amp;:<a href='../081print.mu.html#L4'>screen</a>, trace:text, completed?:bool <span class="Special">&lt;-</span> run-sandboxed data
+<span id="L83" class="LineNr"> 83 </span>  response:text, errors:text, fake-screen:&amp;:<a href='../081print.mu.html#L16'>screen</a>, trace:text, completed?:bool <span class="Special">&lt;-</span> run-sandboxed data
 <span id="L84" class="LineNr"> 84 </span>  *sandbox <span class="Special">&lt;-</span> put *sandbox, <span class="Constant">response:offset</span>, response
 <span id="L85" class="LineNr"> 85 </span>  *sandbox <span class="Special">&lt;-</span> put *sandbox, <span class="Constant">errors:offset</span>, errors
-<span id="L86" class="LineNr"> 86 </span>  *sandbox <span class="Special">&lt;-</span> put *sandbox, <span class="Constant"><a href='../081print.mu.html#L4'>screen</a>:offset</span>, fake-screen
+<span id="L86" class="LineNr"> 86 </span>  *sandbox <span class="Special">&lt;-</span> put *sandbox, <span class="Constant"><a href='../081print.mu.html#L16'>screen</a>:offset</span>, fake-screen
 <span id="L87" class="LineNr"> 87 </span>  *sandbox <span class="Special">&lt;-</span> put *sandbox, <span class="Constant">trace:offset</span>, trace
 <span id="L88" class="LineNr"> 88 </span>  <span class="Delimiter">{</span>
 <span id="L89" class="LineNr"> 89 </span>  <span class="Conceal">¦</span> <span class="muControl">break-if</span> errors
-<span id="L90" class="LineNr"> 90 </span>  <span class="Conceal">¦</span> <span class="muControl">break-if</span> completed?:bool
+<span id="L90" class="LineNr"> 90 </span>  <span class="Conceal">¦</span> <span class="muControl">break-if</span> completed?
 <span id="L91" class="LineNr"> 91 </span>  <span class="Conceal">¦</span> errors <span class="Special">&lt;-</span> new <span class="Constant">[took too long!</span>
 <span id="L92" class="LineNr"> 92 </span><span class="Constant">]</span>
 <span id="L93" class="LineNr"> 93 </span>  <span class="Conceal">¦</span> *sandbox <span class="Special">&lt;-</span> put *sandbox, <span class="Constant">errors:offset</span>, errors
@@ -170,7 +170,7 @@ if ('onhashchange' in window) {
 <span id="L107" class="LineNr">107 </span>  <span class="Conceal">¦</span> sandbox-errors:text <span class="Special">&lt;-</span> get *sandbox, <span class="Constant">errors:offset</span>
 <span id="L108" class="LineNr">108 </span>  <span class="Conceal">¦</span> <span class="muControl">break-unless</span> sandbox-errors
 <span id="L109" class="LineNr">109 </span>  <span class="Conceal">¦</span> *sandbox <span class="Special">&lt;-</span> put *sandbox, <span class="Constant">response-starting-row-on-screen:offset</span>,<span class="Constant"> 0</span>  <span class="Comment"># no response</span>
-<span id="L110" class="LineNr">110 </span>  <span class="Conceal">¦</span> row, <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='005-sandbox.mu.html#L366'>render-text</a> <a href='../081print.mu.html#L4'>screen</a>, sandbox-errors, left, right, <span class="Constant">1/red</span>, row
+<span id="L110" class="LineNr">110 </span>  <span class="Conceal">¦</span> row, <a href='../081print.mu.html#L16'>screen</a> <span class="Special">&lt;-</span> <a href='005-sandbox.mu.html#L393'>render-text</a> <a href='../081print.mu.html#L16'>screen</a>, sandbox-errors, left, right, <span class="Constant">1/red</span>, row
 <span id="L111" class="LineNr">111 </span>  <span class="Conceal">¦</span> <span class="Comment"># don't try to print anything more for this sandbox</span>
 <span id="L112" class="LineNr">112 </span>  <span class="Conceal">¦</span> <span class="muControl">jump</span> <span class="Constant">+render-sandbox-end</span>
 <span id="L113" class="LineNr">113 </span>  <span class="Delimiter">}</span>
@@ -187,8 +187,8 @@ if ('onhashchange' in window) {
 <span id="L124" class="LineNr">124 </span><span class="Constant">  </span><span class="Conceal">¦</span><span class="Constant"> </span><span class="Conceal">¦</span><span class="Constant"> |]</span>|
 <span id="L125" class="LineNr">125 </span>  <span class="Conceal">¦</span> ]
 <span id="L126" class="LineNr">126 </span>  ]
-<span id="L127" class="LineNr">127 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[foo]</span>
-<span id="L128" class="LineNr">128 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L127" class="LineNr">127 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[foo]</span>
+<span id="L128" class="LineNr">128 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L129" class="LineNr">129 </span>  screen-should-contain [
 <span id="L130" class="LineNr">130 </span>  <span class="Conceal">¦</span><span class="Constant"> .                                                                                 run (F4)           .</span>
 <span id="L131" class="LineNr">131 </span>  <span class="Conceal">¦</span><span class="Constant"> .recipe foo [                                      ╎foo                                              .</span>
@@ -202,7 +202,7 @@ if ('onhashchange' in window) {
 <span id="L139" class="LineNr">139 </span>  <span class="Conceal">¦</span> press F4
 <span id="L140" class="LineNr">140 </span>  ]
 <span id="L141" class="LineNr">141 </span>  run [
-<span id="L142" class="LineNr">142 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L142" class="LineNr">142 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L143" class="LineNr">143 </span>  ]
 <span id="L144" class="LineNr">144 </span>  screen-should-contain [
 <span id="L145" class="LineNr">145 </span>  <span class="Conceal">¦</span><span class="Constant"> .  errors found                                                                   run (F4)           .</span>
@@ -235,8 +235,8 @@ if ('onhashchange' in window) {
 <span id="L172" class="LineNr">172 </span>  assume-screen <span class="Constant">100/width</span>, <span class="Constant">15/height</span>
 <span id="L173" class="LineNr">173 </span>  assume-resources [
 <span id="L174" class="LineNr">174 </span>  ]
-<span id="L175" class="LineNr">175 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[]</span>
-<span id="L176" class="LineNr">176 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L175" class="LineNr">175 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[]</span>
+<span id="L176" class="LineNr">176 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L177" class="LineNr">177 </span>  assume-console [
 <span id="L178" class="LineNr">178 </span>  <span class="Conceal">¦</span> left-click<span class="Constant"> 3</span>,<span class="Constant"> 80</span>
 <span id="L179" class="LineNr">179 </span>  <span class="Conceal">¦</span> <span class="Comment"># create invalid sandbox 1</span>
@@ -247,7 +247,7 @@ if ('onhashchange' in window) {
 <span id="L184" class="LineNr">184 </span>  <span class="Conceal">¦</span> press F4
 <span id="L185" class="LineNr">185 </span>  ]
 <span id="L186" class="LineNr">186 </span>  run [
-<span id="L187" class="LineNr">187 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L187" class="LineNr">187 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L188" class="LineNr">188 </span>  ]
 <span id="L189" class="LineNr">189 </span>  <span class="Comment"># status line shows that error is in first sandbox</span>
 <span id="L190" class="LineNr">190 </span>  screen-should-contain [
@@ -261,8 +261,8 @@ if ('onhashchange' in window) {
 <span id="L198" class="LineNr">198 </span>  assume-screen <span class="Constant">100/width</span>, <span class="Constant">15/height</span>
 <span id="L199" class="LineNr">199 </span>  assume-resources [
 <span id="L200" class="LineNr">200 </span>  ]
-<span id="L201" class="LineNr">201 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[]</span>
-<span id="L202" class="LineNr">202 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L201" class="LineNr">201 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[]</span>
+<span id="L202" class="LineNr">202 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L203" class="LineNr">203 </span>  assume-console [
 <span id="L204" class="LineNr">204 </span>  <span class="Conceal">¦</span> left-click<span class="Constant"> 3</span>,<span class="Constant"> 80</span>
 <span id="L205" class="LineNr">205 </span>  <span class="Conceal">¦</span> <span class="Comment"># create invalid sandbox 2</span>
@@ -276,7 +276,7 @@ if ('onhashchange' in window) {
 <span id="L213" class="LineNr">213 </span>  <span class="Conceal">¦</span> press F4
 <span id="L214" class="LineNr">214 </span>  ]
 <span id="L215" class="LineNr">215 </span>  run [
-<span id="L216" class="LineNr">216 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L216" class="LineNr">216 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L217" class="LineNr">217 </span>  ]
 <span id="L218" class="LineNr">218 </span>  <span class="Comment"># status line shows that error is in second sandbox</span>
 <span id="L219" class="LineNr">219 </span>  screen-should-contain [
@@ -290,12 +290,12 @@ if ('onhashchange' in window) {
 <span id="L227" class="LineNr">227 </span>  assume-screen <span class="Constant">100/width</span>, <span class="Constant">15/height</span>
 <span id="L228" class="LineNr">228 </span>  assume-resources [
 <span id="L229" class="LineNr">229 </span>  ]
-<span id="L230" class="LineNr">230 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[get foo, x:offset]</span>  <span class="Comment"># invalid</span>
-<span id="L231" class="LineNr">231 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L230" class="LineNr">230 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[get foo, x:offset]</span>  <span class="Comment"># invalid</span>
+<span id="L231" class="LineNr">231 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L232" class="LineNr">232 </span>  assume-console [
 <span id="L233" class="LineNr">233 </span>  <span class="Conceal">¦</span> press F4  <span class="Comment"># generate error</span>
 <span id="L234" class="LineNr">234 </span>  ]
-<span id="L235" class="LineNr">235 </span>  <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L235" class="LineNr">235 </span>  <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L236" class="LineNr">236 </span>  assume-console [
 <span id="L237" class="LineNr">237 </span>  <span class="Conceal">¦</span> left-click<span class="Constant"> 3</span>,<span class="Constant"> 58</span>
 <span id="L238" class="LineNr">238 </span>  <span class="Conceal">¦</span> press ctrl-k
@@ -303,7 +303,7 @@ if ('onhashchange' in window) {
 <span id="L240" class="LineNr">240 </span>  <span class="Conceal">¦</span> press F4  <span class="Comment"># update sandbox</span>
 <span id="L241" class="LineNr">241 </span>  ]
 <span id="L242" class="LineNr">242 </span>  run [
-<span id="L243" class="LineNr">243 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L243" class="LineNr">243 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L244" class="LineNr">244 </span>  ]
 <span id="L245" class="LineNr">245 </span>  <span class="Comment"># error should disappear</span>
 <span id="L246" class="LineNr">246 </span>  screen-should-contain [
@@ -333,12 +333,12 @@ if ('onhashchange' in window) {
 <span id="L270" class="LineNr">270 </span><span class="Constant">  </span><span class="Conceal">¦</span><span class="Constant"> </span><span class="Conceal">¦</span><span class="Constant"> |]</span>|
 <span id="L271" class="LineNr">271 </span>  <span class="Conceal">¦</span> ]
 <span id="L272" class="LineNr">272 </span>  ]
-<span id="L273" class="LineNr">273 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[foo 2]</span>
-<span id="L274" class="LineNr">274 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L273" class="LineNr">273 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[foo 2]</span>
+<span id="L274" class="LineNr">274 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L275" class="LineNr">275 </span>  assume-console [
 <span id="L276" class="LineNr">276 </span>  <span class="Conceal">¦</span> press F4
 <span id="L277" class="LineNr">277 </span>  ]
-<span id="L278" class="LineNr">278 </span>  <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L278" class="LineNr">278 </span>  <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L279" class="LineNr">279 </span>  screen-should-contain [
 <span id="L280" class="LineNr">280 </span>  <span class="Conceal">¦</span><span class="Constant"> .  errors found (0)                                                               run (F4)           .</span>
 <span id="L281" class="LineNr">281 </span>  <span class="Conceal">¦</span><span class="Constant"> .recipe foo x:_elem -&gt; z:_elem [                   ╎                                                 .</span>
@@ -356,7 +356,7 @@ if ('onhashchange' in window) {
 <span id="L293" class="LineNr">293 </span>  <span class="Conceal">¦</span> press F4
 <span id="L294" class="LineNr">294 </span>  ]
 <span id="L295" class="LineNr">295 </span>  run [
-<span id="L296" class="LineNr">296 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L296" class="LineNr">296 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L297" class="LineNr">297 </span>  ]
 <span id="L298" class="LineNr">298 </span>  <span class="Comment"># error should remain unchanged</span>
 <span id="L299" class="LineNr">299 </span>  screen-should-contain [
@@ -387,13 +387,13 @@ if ('onhashchange' in window) {
 <span id="L324" class="LineNr">324 </span>  <span class="Comment"># call code that uses other variants of it, but not it itself</span>
 <span id="L325" class="LineNr">325 </span>  test-sandbox:text <span class="Special">&lt;-</span> new <span class="Constant">[x:&amp;:<a href='../064list.mu.html#L6'>list</a>:num &lt;- copy 0</span>
 <span id="L326" class="LineNr">326 </span><span class="Constant">to-text x]</span>
-<span id="L327" class="LineNr">327 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, test-sandbox
-<span id="L328" class="LineNr">328 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L327" class="LineNr">327 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, test-sandbox
+<span id="L328" class="LineNr">328 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L329" class="LineNr">329 </span>  <span class="Comment"># run it once</span>
 <span id="L330" class="LineNr">330 </span>  assume-console [
 <span id="L331" class="LineNr">331 </span>  <span class="Conceal">¦</span> press F4
 <span id="L332" class="LineNr">332 </span>  ]
-<span id="L333" class="LineNr">333 </span>  <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L333" class="LineNr">333 </span>  <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L334" class="LineNr">334 </span>  <span class="Comment"># no errors anywhere on screen (can't check anything else, since to-text will return an address)</span>
 <span id="L335" class="LineNr">335 </span>  screen-should-contain-in-color <span class="Constant">1/red</span>, [
 <span id="L336" class="LineNr">336 </span>  <span class="Conceal">¦</span><span class="Constant"> .                                                                                                    .</span>
@@ -417,7 +417,7 @@ if ('onhashchange' in window) {
 <span id="L354" class="LineNr">354 </span>  <span class="Conceal">¦</span> press F4
 <span id="L355" class="LineNr">355 </span>  ]
 <span id="L356" class="LineNr">356 </span>  run [
-<span id="L357" class="LineNr">357 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L357" class="LineNr">357 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L358" class="LineNr">358 </span>  ]
 <span id="L359" class="LineNr">359 </span>  <span class="Comment"># still no errors</span>
 <span id="L360" class="LineNr">360 </span>  screen-should-contain-in-color <span class="Constant">1/red</span>, [
@@ -450,13 +450,13 @@ if ('onhashchange' in window) {
 <span id="L387" class="LineNr">387 </span><span class="Constant">  </span><span class="Conceal">¦</span><span class="Constant"> </span><span class="Conceal">¦</span><span class="Constant"> |]</span>|
 <span id="L388" class="LineNr">388 </span>  <span class="Conceal">¦</span> ]
 <span id="L389" class="LineNr">389 </span>  ]
-<span id="L390" class="LineNr">390 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[foo]</span>
-<span id="L391" class="LineNr">391 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L390" class="LineNr">390 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[foo]</span>
+<span id="L391" class="LineNr">391 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L392" class="LineNr">392 </span>  assume-console [
 <span id="L393" class="LineNr">393 </span>  <span class="Conceal">¦</span> press F4
 <span id="L394" class="LineNr">394 </span>  ]
 <span id="L395" class="LineNr">395 </span>  run [
-<span id="L396" class="LineNr">396 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L396" class="LineNr">396 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L397" class="LineNr">397 </span>  ]
 <span id="L398" class="LineNr">398 </span>  screen-should-contain [
 <span id="L399" class="LineNr">399 </span>  <span class="Conceal">¦</span><span class="Constant"> .  errors found                                                                   run (F4)           .</span>
@@ -482,13 +482,13 @@ if ('onhashchange' in window) {
 <span id="L419" class="LineNr">419 </span><span class="Constant">  </span><span class="Conceal">¦</span><span class="Constant"> </span><span class="Conceal">¦</span><span class="Constant"> |  x &lt;- copy 0|</span>
 <span id="L420" class="LineNr">420 </span><span class="Constant">  </span><span class="Conceal">¦</span><span class="Constant"> ]</span>
 <span id="L421" class="LineNr">421 </span>  ]
-<span id="L422" class="LineNr">422 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[foo]</span>
-<span id="L423" class="LineNr">423 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L422" class="LineNr">422 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[foo]</span>
+<span id="L423" class="LineNr">423 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L424" class="LineNr">424 </span>  assume-console [
 <span id="L425" class="LineNr">425 </span>  <span class="Conceal">¦</span> press F4
 <span id="L426" class="LineNr">426 </span>  ]
 <span id="L427" class="LineNr">427 </span>  run [
-<span id="L428" class="LineNr">428 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L428" class="LineNr">428 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L429" class="LineNr">429 </span>  ]
 <span id="L430" class="LineNr">430 </span>  screen-should-contain [
 <span id="L431" class="LineNr">431 </span>  <span class="Conceal">¦</span><span class="Constant"> .  errors found                                                                   run (F4)           .</span>
@@ -514,13 +514,13 @@ if ('onhashchange' in window) {
 <span id="L451" class="LineNr">451 </span><span class="Constant">  </span><span class="Conceal">¦</span><span class="Constant"> </span><span class="Conceal">¦</span><span class="Constant"> |]</span>|
 <span id="L452" class="LineNr">452 </span>  <span class="Conceal">¦</span> ]
 <span id="L453" class="LineNr">453 </span>  ]
-<span id="L454" class="LineNr">454 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[foo]</span>
-<span id="L455" class="LineNr">455 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L454" class="LineNr">454 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[foo]</span>
+<span id="L455" class="LineNr">455 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L456" class="LineNr">456 </span>  assume-console [
 <span id="L457" class="LineNr">457 </span>  <span class="Conceal">¦</span> press F4
 <span id="L458" class="LineNr">458 </span>  ]
 <span id="L459" class="LineNr">459 </span>  run [
-<span id="L460" class="LineNr">460 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L460" class="LineNr">460 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L461" class="LineNr">461 </span>  ]
 <span id="L462" class="LineNr">462 </span>  screen-should-contain [
 <span id="L463" class="LineNr">463 </span>  <span class="Conceal">¦</span><span class="Constant"> .  errors found                                                                   run (F4)           .</span>
@@ -551,13 +551,13 @@ if ('onhashchange' in window) {
 <span id="L488" class="LineNr">488 </span><span class="Constant">  </span><span class="Conceal">¦</span><span class="Constant"> </span><span class="Conceal">¦</span><span class="Constant"> |]</span>|
 <span id="L489" class="LineNr">489 </span>  <span class="Conceal">¦</span> ]
 <span id="L490" class="LineNr">490 </span>  ]
-<span id="L491" class="LineNr">491 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[foo]</span>
-<span id="L492" class="LineNr">492 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L491" class="LineNr">491 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[foo]</span>
+<span id="L492" class="LineNr">492 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L493" class="LineNr">493 </span>  assume-console [
 <span id="L494" class="LineNr">494 </span>  <span class="Conceal">¦</span> press F4
 <span id="L495" class="LineNr">495 </span>  ]
 <span id="L496" class="LineNr">496 </span>  run [
-<span id="L497" class="LineNr">497 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L497" class="LineNr">497 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L498" class="LineNr">498 </span>  ]
 <span id="L499" class="LineNr">499 </span>  screen-should-contain [
 <span id="L500" class="LineNr">500 </span>  <span class="Conceal">¦</span><span class="Constant"> .  errors found                                                                   run (F4)           .</span>
@@ -588,12 +588,12 @@ if ('onhashchange' in window) {
 <span id="L525" class="LineNr">525 </span><span class="Constant">  </span><span class="Conceal">¦</span><span class="Constant"> </span><span class="Conceal">¦</span><span class="Constant"> |]</span>|
 <span id="L526" class="LineNr">526 </span>  <span class="Conceal">¦</span> ]
 <span id="L527" class="LineNr">527 </span>  ]
-<span id="L528" class="LineNr">528 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[foo]</span>
-<span id="L529" class="LineNr">529 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L528" class="LineNr">528 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[foo]</span>
+<span id="L529" class="LineNr">529 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L530" class="LineNr">530 </span>  assume-console [
 <span id="L531" class="LineNr">531 </span>  <span class="Conceal">¦</span> press F4
 <span id="L532" class="LineNr">532 </span>  ]
-<span id="L533" class="LineNr">533 </span>  <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L533" class="LineNr">533 </span>  <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L534" class="LineNr">534 </span>  screen-should-contain [
 <span id="L535" class="LineNr">535 </span>  <span class="Conceal">¦</span><span class="Constant"> .  errors found                                                                   run (F4)           .</span>
 <span id="L536" class="LineNr">536 </span>  <span class="Conceal">¦</span><span class="Constant"> .recipe foo [                                      ╎foo                                              .</span>
@@ -611,7 +611,7 @@ if ('onhashchange' in window) {
 <span id="L548" class="LineNr">548 </span>  <span class="Conceal">¦</span> press F4
 <span id="L549" class="LineNr">549 </span>  ]
 <span id="L550" class="LineNr">550 </span>  run [
-<span id="L551" class="LineNr">551 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L551" class="LineNr">551 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L552" class="LineNr">552 </span>  ]
 <span id="L553" class="LineNr">553 </span>  screen-should-contain [
 <span id="L554" class="LineNr">554 </span>  <span class="Conceal">¦</span><span class="Constant"> .  errors found                                                                   run (F4)           .</span>
@@ -634,13 +634,13 @@ if ('onhashchange' in window) {
 <span id="L571" class="LineNr">571 </span>  assume-resources [
 <span id="L572" class="LineNr">572 </span>  ]
 <span id="L573" class="LineNr">573 </span>  <span class="Comment"># sandbox editor contains an illegal instruction</span>
-<span id="L574" class="LineNr">574 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[get 1234:num, foo:offset]</span>
-<span id="L575" class="LineNr">575 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L574" class="LineNr">574 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[get 1234:num, foo:offset]</span>
+<span id="L575" class="LineNr">575 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L576" class="LineNr">576 </span>  assume-console [
 <span id="L577" class="LineNr">577 </span>  <span class="Conceal">¦</span> press F4
 <span id="L578" class="LineNr">578 </span>  ]
 <span id="L579" class="LineNr">579 </span>  run [
-<span id="L580" class="LineNr">580 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L580" class="LineNr">580 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L581" class="LineNr">581 </span>  ]
 <span id="L582" class="LineNr">582 </span>  <span class="Comment"># check that screen prints error message in red</span>
 <span id="L583" class="LineNr">583 </span>  screen-should-contain [
@@ -697,15 +697,15 @@ if ('onhashchange' in window) {
 <span id="L634" class="LineNr">634 </span>  assume-resources [
 <span id="L635" class="LineNr">635 </span>  ]
 <span id="L636" class="LineNr">636 </span>  <span class="Comment"># sandbox editor contains an illegal instruction</span>
-<span id="L637" class="LineNr">637 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[get 1234:num, foo:offset]</span>
-<span id="L638" class="LineNr">638 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L637" class="LineNr">637 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[get 1234:num, foo:offset]</span>
+<span id="L638" class="LineNr">638 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L639" class="LineNr">639 </span>  <span class="Comment"># run the code in the editors multiple times</span>
 <span id="L640" class="LineNr">640 </span>  assume-console [
 <span id="L641" class="LineNr">641 </span>  <span class="Conceal">¦</span> press F4
 <span id="L642" class="LineNr">642 </span>  <span class="Conceal">¦</span> press F4
 <span id="L643" class="LineNr">643 </span>  ]
 <span id="L644" class="LineNr">644 </span>  run [
-<span id="L645" class="LineNr">645 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L645" class="LineNr">645 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L646" class="LineNr">646 </span>  ]
 <span id="L647" class="LineNr">647 </span>  <span class="Comment"># check that screen prints error message just once</span>
 <span id="L648" class="LineNr">648 </span>  screen-should-contain [
@@ -736,14 +736,14 @@ if ('onhashchange' in window) {
 <span id="L673" class="LineNr">673 </span><span class="Constant">  </span><span class="Conceal">¦</span><span class="Constant"> </span><span class="Conceal">¦</span><span class="Constant"> |]</span>|
 <span id="L674" class="LineNr">674 </span>  <span class="Conceal">¦</span> ]
 <span id="L675" class="LineNr">675 </span>  ]
-<span id="L676" class="LineNr">676 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[foo]</span>
-<span id="L677" class="LineNr">677 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L676" class="LineNr">676 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[foo]</span>
+<span id="L677" class="LineNr">677 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L678" class="LineNr">678 </span>  <span class="Comment"># run the sandbox</span>
 <span id="L679" class="LineNr">679 </span>  assume-console [
 <span id="L680" class="LineNr">680 </span>  <span class="Conceal">¦</span> press F4
 <span id="L681" class="LineNr">681 </span>  ]
 <span id="L682" class="LineNr">682 </span>  run [
-<span id="L683" class="LineNr">683 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L683" class="LineNr">683 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L684" class="LineNr">684 </span>  ]
 <span id="L685" class="LineNr">685 </span>  screen-should-contain [
 <span id="L686" class="LineNr">686 </span>  <span class="Conceal">¦</span><span class="Constant"> .  errors found (0)                                                               run (F4)           .</span>
@@ -775,13 +775,13 @@ if ('onhashchange' in window) {
 <span id="L712" class="LineNr">712 </span><span class="Constant">  </span><span class="Conceal">¦</span><span class="Constant"> </span><span class="Conceal">¦</span><span class="Constant"> |]|</span>
 <span id="L713" class="LineNr">713 </span>  <span class="Conceal">¦</span> ]
 <span id="L714" class="LineNr">714 </span>  ]
-<span id="L715" class="LineNr">715 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[foo 4, 0]</span>
-<span id="L716" class="LineNr">716 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L715" class="LineNr">715 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[foo 4, 0]</span>
+<span id="L716" class="LineNr">716 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L717" class="LineNr">717 </span>  <span class="Comment"># run</span>
 <span id="L718" class="LineNr">718 </span>  assume-console [
 <span id="L719" class="LineNr">719 </span>  <span class="Conceal">¦</span> press F4
 <span id="L720" class="LineNr">720 </span>  ]
-<span id="L721" class="LineNr">721 </span>  <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L721" class="LineNr">721 </span>  <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L722" class="LineNr">722 </span>  <span class="Comment"># screen prints error message</span>
 <span id="L723" class="LineNr">723 </span>  screen-should-contain [
 <span id="L724" class="LineNr">724 </span>  <span class="Conceal">¦</span><span class="Constant"> .  errors found (0)                                                               run (F4)           .</span>
@@ -800,7 +800,7 @@ if ('onhashchange' in window) {
 <span id="L737" class="LineNr">737 </span>  <span class="Conceal">¦</span> left-click<span class="Constant"> 4</span>,<span class="Constant"> 55</span>
 <span id="L738" class="LineNr">738 </span>  ]
 <span id="L739" class="LineNr">739 </span>  run [
-<span id="L740" class="LineNr">740 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
+<span id="L740" class="LineNr">740 </span>  <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a>
 <span id="L741" class="LineNr">741 </span>  ]
 <span id="L742" class="LineNr">742 </span>  <span class="Comment"># screen should expand trace</span>
 <span id="L743" class="LineNr">743 </span>  screen-should-contain [