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>2018-01-27 00:28:51 -0800
committerKartik K. Agaram <vc@akkartik.com>2018-01-27 00:28:51 -0800
commitb301e0c0e6b54dceecbe4ee1ef8f610411015c30 (patch)
treed40803d412718221d7c92fd50c189563877b8301 /html/edit/011-errors.mu.html
parent805d58c6aeeeba3e4989c0eed6781b3861e8fae0 (diff)
downloadmu-b301e0c0e6b54dceecbe4ee1ef8f610411015c30.tar.gz
4200
Forgot to set up exuberant_ctags_rc as .ctags on new laptop.
Diffstat (limited to 'html/edit/011-errors.mu.html')
-rw-r--r--html/edit/011-errors.mu.html170
1 files changed, 85 insertions, 85 deletions
diff --git a/html/edit/011-errors.mu.html b/html/edit/011-errors.mu.html
index 9293cd49..87eb218a 100644
--- a/html/edit/011-errors.mu.html
+++ b/html/edit/011-errors.mu.html
@@ -67,41 +67,41 @@ 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, resources:&amp;:resources, screen:&amp;:screen<span class="muRecipe"> -&gt; </span>errors-found?:bool, env:&amp;:environment, resources:&amp;:resources, screen:&amp;:screen [
+<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-inputs</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> editor-contents recipes
-<span id="L13" class="LineNr"> 13 </span>  resources <span class="Special">&lt;-</span> dump resources, <span class="Constant">[lesson/recipes.mu]</span>, in
+<span id="L12" class="LineNr"> 12 </span>  in:text <span class="Special">&lt;-</span> <a href='005-sandbox.mu.html#L683'>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="muControl">break-unless</span> recipe-errors
-<span id="L19" class="LineNr"> 19 </span>    update-status screen, <span class="Constant">[errors found     ]</span>, <span class="Constant">1/red</span>
+<span id="L19" class="LineNr"> 19 </span>    <a href='005-sandbox.mu.html#L217'>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>    errors-found? <span class="Special">&lt;-</span> copy <span class="Constant">1/true</span>
 <span id="L21" class="LineNr"> 21 </span>   <span class="muControl"> return</span>
 <span id="L22" class="LineNr"> 22 </span>  <span class="Delimiter">}</span>
 <span id="L23" class="LineNr"> 23 </span>  errors-found? <span class="Special">&lt;-</span> copy <span class="Constant">0/false</span>
 <span id="L24" class="LineNr"> 24 </span>]
 <span id="L25" class="LineNr"> 25 </span>
-<span id="L26" class="LineNr"> 26 </span><span class="muRecipe">after</span> <span class="Constant">&lt;begin-run-sandboxes-on-F4&gt;</span> [
+<span id="L26" class="LineNr"> 26 </span><span class="muRecipe">after</span> <span class="Constant"><a href='005-sandbox.mu.html#L132'>&lt;begin-run-sandboxes-on-F4&gt;</a></span> [
 <span id="L27" class="LineNr"> 27 </span>  old-recipe-errors:text <span class="Special">&lt;-</span> get *env, <span class="Constant">recipe-errors:offset</span>
 <span id="L28" class="LineNr"> 28 </span>]
-<span id="L29" class="LineNr"> 29 </span><span class="muRecipe">before</span> <span class="Constant">&lt;end-run-sandboxes-on-F4&gt;</span> [
+<span id="L29" class="LineNr"> 29 </span><span class="muRecipe">before</span> <span class="Constant"><a href='005-sandbox.mu.html#L135'>&lt;end-run-sandboxes-on-F4&gt;</a></span> [
 <span id="L30" class="LineNr"> 30 </span>  <span class="Comment"># if there were recipe errors before, check if we can clear them</span>
 <span id="L31" class="LineNr"> 31 </span>  <span class="Delimiter">{</span>
 <span id="L32" class="LineNr"> 32 </span>    <span class="muControl">break-unless</span> old-recipe-errors
-<span id="L33" class="LineNr"> 33 </span>    screen <span class="Special">&lt;-</span> render-recipes screen, env, render
+<span id="L33" class="LineNr"> 33 </span>    <a href='../081print.mu.html#L16'>screen</a> <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L431'>render-recipes</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L34" class="LineNr"> 34 </span>  <span class="Delimiter">}</span>
-<span id="L35" class="LineNr"> 35 </span>  screen <span class="Special">&lt;-</span> render-recipe-errors env, screen
+<span id="L35" class="LineNr"> 35 </span>  <a href='../081print.mu.html#L16'>screen</a> <span class="Special">&lt;-</span> <a href='011-errors.mu.html#L42'>render-recipe-errors</a> env, <a href='../081print.mu.html#L16'>screen</a>
 <span id="L36" class="LineNr"> 36 </span>]
 <span id="L37" class="LineNr"> 37 </span>
-<span id="L38" class="LineNr"> 38 </span><span class="muRecipe">before</span> <span class="Constant">&lt;end-render-recipe-components&gt;</span> [
-<span id="L39" class="LineNr"> 39 </span>  screen <span class="Special">&lt;-</span> render-recipe-errors env, screen
+<span id="L38" class="LineNr"> 38 </span><span class="muRecipe">before</span> <span class="Constant"><a href='004-programming-environment.mu.html#L443'>&lt;end-render-recipe-components&gt;</a></span> [
+<span id="L39" class="LineNr"> 39 </span>  <a href='../081print.mu.html#L16'>screen</a> <span class="Special">&lt;-</span> <a href='011-errors.mu.html#L42'>render-recipe-errors</a> env, <a href='../081print.mu.html#L16'>screen</a>
 <span id="L40" class="LineNr"> 40 </span>]
 <span id="L41" class="LineNr"> 41 </span>
-<span id="L42" class="LineNr"> 42 </span><span class="muRecipe">def</span> render-recipe-errors env:&amp;:environment, screen:&amp;:screen<span class="muRecipe"> -&gt; </span>screen:&amp;:screen [
+<span id="L42" class="LineNr"> 42 </span><span class="muRecipe">def</span> <a href='011-errors.mu.html#L42'>render-recipe-errors</a> env:&amp;:environment, <a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a><span class="muRecipe"> -&gt; </span><a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a> [
 <span id="L43" class="LineNr"> 43 </span>  <span class="Constant">local-scope</span>
 <span id="L44" class="LineNr"> 44 </span>  <span class="Constant">load-inputs</span>
 <span id="L45" class="LineNr"> 45 </span>  recipe-errors:text <span class="Special">&lt;-</span> get *env, <span class="Constant">recipe-errors:offset</span>
@@ -110,26 +110,26 @@ if ('onhashchange' in window) {
 <span id="L48" class="LineNr"> 48 </span>  left:num <span class="Special">&lt;-</span> get *recipes, <span class="Constant">left:offset</span>
 <span id="L49" class="LineNr"> 49 </span>  right:num <span class="Special">&lt;-</span> get *recipes, <span class="Constant">right:offset</span>
 <span id="L50" class="LineNr"> 50 </span>  row:num <span class="Special">&lt;-</span> get *recipes, <span class="Constant">bottom:offset</span>
-<span id="L51" class="LineNr"> 51 </span>  row, screen <span class="Special">&lt;-</span> render-text screen, recipe-errors, left, right, <span class="Constant">1/red</span>, row
+<span id="L51" class="LineNr"> 51 </span>  row, <a href='../081print.mu.html#L16'>screen</a> <span class="Special">&lt;-</span> <a href='005-sandbox.mu.html#L398'>render-text</a> <a href='../081print.mu.html#L16'>screen</a>, recipe-errors, left, right, <span class="Constant">1/red</span>, row
 <span id="L52" class="LineNr"> 52 </span>  <span class="Comment"># draw dotted line after recipes</span>
-<span id="L53" class="LineNr"> 53 </span>  draw-horizontal screen, row, left, right, <span class="Constant">9480/horizontal-dotted</span>
+<span id="L53" class="LineNr"> 53 </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="L54" class="LineNr"> 54 </span>  row <span class="Special">&lt;-</span> add row,<span class="Constant"> 1</span>
-<span id="L55" class="LineNr"> 55 </span>  clear-screen-from screen, row, left, left, right
+<span id="L55" class="LineNr"> 55 </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="L56" class="LineNr"> 56 </span>]
 <span id="L57" class="LineNr"> 57 </span>
 <span id="L58" class="LineNr"> 58 </span><span class="muData">container</span> environment [
 <span id="L59" class="LineNr"> 59 </span>  error-index:num  <span class="Comment"># index of first sandbox with an error (or -1 if none)</span>
 <span id="L60" class="LineNr"> 60 </span>]
 <span id="L61" class="LineNr"> 61 </span>
-<span id="L62" class="LineNr"> 62 </span><span class="muRecipe">after</span> <span class="Constant">&lt;programming-environment-initialization&gt;</span> [
+<span id="L62" class="LineNr"> 62 </span><span class="muRecipe">after</span> <span class="Constant"><a href='004-programming-environment.mu.html#L36'>&lt;programming-environment-initialization&gt;</a></span> [
 <span id="L63" class="LineNr"> 63 </span>  *result <span class="Special">&lt;-</span> put *result, <span class="Constant">error-index:offset</span>,<span class="Constant"> -1</span>
 <span id="L64" class="LineNr"> 64 </span>]
 <span id="L65" class="LineNr"> 65 </span>
-<span id="L66" class="LineNr"> 66 </span><span class="muRecipe">after</span> <span class="Constant">&lt;begin-run-sandboxes&gt;</span> [
+<span id="L66" class="LineNr"> 66 </span><span class="muRecipe">after</span> <span class="Constant"><a href='005-sandbox.mu.html#L152'>&lt;begin-run-sandboxes&gt;</a></span> [
 <span id="L67" class="LineNr"> 67 </span>  *env <span class="Special">&lt;-</span> put *env, <span class="Constant">error-index:offset</span>,<span class="Constant"> -1</span>
 <span id="L68" class="LineNr"> 68 </span>]
 <span id="L69" class="LineNr"> 69 </span>
-<span id="L70" class="LineNr"> 70 </span><span class="muRecipe">before</span> <span class="Constant">&lt;end-run-sandboxes&gt;</span> [
+<span id="L70" class="LineNr"> 70 </span><span class="muRecipe">before</span> <span class="Constant"><a href='005-sandbox.mu.html#L187'>&lt;end-run-sandboxes&gt;</a></span> [
 <span id="L71" class="LineNr"> 71 </span>  <span class="Delimiter">{</span>
 <span id="L72" class="LineNr"> 72 </span>    error-index:num <span class="Special">&lt;-</span> get *env, <span class="Constant">error-index:offset</span>
 <span id="L73" class="LineNr"> 73 </span>    sandboxes-completed-successfully?:bool <span class="Special">&lt;-</span> equal error-index,<span class="Constant"> -1</span>
@@ -138,7 +138,7 @@ if ('onhashchange' in window) {
 <span id="L76" class="LineNr"> 76 </span>  <span class="Delimiter">}</span>
 <span id="L77" class="LineNr"> 77 </span>]
 <span id="L78" class="LineNr"> 78 </span>
-<span id="L79" class="LineNr"> 79 </span><span class="muRecipe">before</span> <span class="Constant">&lt;end-run-sandboxes-on-F4&gt;</span> [
+<span id="L79" class="LineNr"> 79 </span><span class="muRecipe">before</span> <span class="Constant"><a href='005-sandbox.mu.html#L135'>&lt;end-run-sandboxes-on-F4&gt;</a></span> [
 <span id="L80" class="LineNr"> 80 </span>  <span class="Delimiter">{</span>
 <span id="L81" class="LineNr"> 81 </span>    <span class="muControl">break-unless</span> error?
 <span id="L82" class="LineNr"> 82 </span>    recipe-errors:text <span class="Special">&lt;-</span> get *env, <span class="Constant">recipe-errors:offset</span>
@@ -147,8 +147,8 @@ if ('onhashchange' in window) {
 <span id="L85" class="LineNr"> 85 </span>    sandboxes-completed-successfully?:bool <span class="Special">&lt;-</span> equal error-index,<span class="Constant"> -1</span>
 <span id="L86" class="LineNr"> 86 </span>    <span class="muControl">break-if</span> sandboxes-completed-successfully?
 <span id="L87" class="LineNr"> 87 </span>    error-index-text:text <span class="Special">&lt;-</span> to-text error-index
-<span id="L88" class="LineNr"> 88 </span>    status:text <span class="Special">&lt;-</span> interpolate <span class="Constant">[errors found (_)    ]</span>, error-index-text
-<span id="L89" class="LineNr"> 89 </span>    update-status screen, status, <span class="Constant">1/red</span>
+<span id="L88" class="LineNr"> 88 </span>    status:text <span class="Special">&lt;-</span> <a href='../061text.mu.html#L520'>interpolate</a> <span class="Constant">[errors found (_)    ]</span>, error-index-text
+<span id="L89" class="LineNr"> 89 </span>    <a href='005-sandbox.mu.html#L217'>update-status</a> <a href='../081print.mu.html#L16'>screen</a>, status, <span class="Constant">1/red</span>
 <span id="L90" class="LineNr"> 90 </span>  <span class="Delimiter">}</span>
 <span id="L91" class="LineNr"> 91 </span>]
 <span id="L92" class="LineNr"> 92 </span>
@@ -160,10 +160,10 @@ if ('onhashchange' in window) {
 <span id="L98" class="LineNr"> 98 </span>  <span class="Constant">local-scope</span>
 <span id="L99" class="LineNr"> 99 </span>  <span class="Constant">load-inputs</span>
 <span id="L100" class="LineNr">100 </span>  data:text <span class="Special">&lt;-</span> get *sandbox, <span class="Constant">data:offset</span>
-<span id="L101" class="LineNr">101 </span>  response:text, errors:text, fake-screen:&amp;:screen, trace:text, completed?:bool <span class="Special">&lt;-</span> run-sandboxed data
+<span id="L101" class="LineNr">101 </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="L102" class="LineNr">102 </span>  *sandbox <span class="Special">&lt;-</span> put *sandbox, <span class="Constant">response:offset</span>, response
 <span id="L103" class="LineNr">103 </span>  *sandbox <span class="Special">&lt;-</span> put *sandbox, <span class="Constant">errors:offset</span>, errors
-<span id="L104" class="LineNr">104 </span>  *sandbox <span class="Special">&lt;-</span> put *sandbox, <span class="Constant">screen:offset</span>, fake-screen
+<span id="L104" class="LineNr">104 </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="L105" class="LineNr">105 </span>  *sandbox <span class="Special">&lt;-</span> put *sandbox, <span class="Constant">trace:offset</span>, trace
 <span id="L106" class="LineNr">106 </span>  <span class="Delimiter">{</span>
 <span id="L107" class="LineNr">107 </span>    <span class="muControl">break-if</span> errors
@@ -182,12 +182,12 @@ if ('onhashchange' in window) {
 <span id="L120" class="LineNr">120 </span>]
 <span id="L121" class="LineNr">121 </span>
 <span id="L122" class="LineNr">122 </span><span class="Comment"># make sure we render any trace</span>
-<span id="L123" class="LineNr">123 </span><span class="muRecipe">after</span> <span class="Constant">&lt;render-sandbox-trace-done&gt;</span> [
+<span id="L123" class="LineNr">123 </span><span class="muRecipe">after</span> <span class="Constant"><a href='010-sandbox-trace.mu.html#L252'>&lt;render-sandbox-trace-done&gt;</a></span> [
 <span id="L124" class="LineNr">124 </span>  <span class="Delimiter">{</span>
 <span id="L125" class="LineNr">125 </span>    sandbox-errors:text <span class="Special">&lt;-</span> get *sandbox, <span class="Constant">errors:offset</span>
 <span id="L126" class="LineNr">126 </span>    <span class="muControl">break-unless</span> sandbox-errors
 <span id="L127" class="LineNr">127 </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="L128" class="LineNr">128 </span>    row, screen <span class="Special">&lt;-</span> render-text screen, sandbox-errors, left, right, <span class="Constant">1/red</span>, row
+<span id="L128" class="LineNr">128 </span>    row, <a href='../081print.mu.html#L16'>screen</a> <span class="Special">&lt;-</span> <a href='005-sandbox.mu.html#L398'>render-text</a> <a href='../081print.mu.html#L16'>screen</a>, sandbox-errors, left, right, <span class="Constant">1/red</span>, row
 <span id="L129" class="LineNr">129 </span>    <span class="Comment"># don't try to print anything more for this sandbox</span>
 <span id="L130" class="LineNr">130 </span>   <span class="muControl"> jump</span> <span class="Constant">+render-sandbox-end</span>
 <span id="L131" class="LineNr">131 </span>  <span class="Delimiter">}</span>
@@ -204,8 +204,8 @@ if ('onhashchange' in window) {
 <span id="L142" class="LineNr">142 </span><span class="Constant">      |]</span>|
 <span id="L143" class="LineNr">143 </span>    ]
 <span id="L144" class="LineNr">144 </span>  ]
-<span id="L145" class="LineNr">145 </span>  env:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[foo]</span>
-<span id="L146" class="LineNr">146 </span>  render-all screen, env, render
+<span id="L145" class="LineNr">145 </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="L146" class="LineNr">146 </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="L147" class="LineNr">147 </span>  screen-should-contain [
 <span id="L148" class="LineNr">148 </span>   <span class="Constant"> .                                                                                 run (F4)           .</span>
 <span id="L149" class="LineNr">149 </span>   <span class="Constant"> .recipe foo [                                      ╎foo                                              .</span>
@@ -219,7 +219,7 @@ if ('onhashchange' in window) {
 <span id="L157" class="LineNr">157 </span>    press F4
 <span id="L158" class="LineNr">158 </span>  ]
 <span id="L159" class="LineNr">159 </span>  run [
-<span id="L160" class="LineNr">160 </span>    event-loop screen, console, env, resources
+<span id="L160" class="LineNr">160 </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="L161" class="LineNr">161 </span>  ]
 <span id="L162" class="LineNr">162 </span>  screen-should-contain [
 <span id="L163" class="LineNr">163 </span>   <span class="Constant"> .  errors found                                                                   run (F4)           .</span>
@@ -250,8 +250,8 @@ if ('onhashchange' in window) {
 <span id="L188" class="LineNr">188 </span>  assume-screen <span class="Constant">100/width</span>, <span class="Constant">15/height</span>
 <span id="L189" class="LineNr">189 </span>  assume-resources [
 <span id="L190" class="LineNr">190 </span>  ]
-<span id="L191" class="LineNr">191 </span>  env:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[]</span>
-<span id="L192" class="LineNr">192 </span>  render-all screen, env, render
+<span id="L191" class="LineNr">191 </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="L192" class="LineNr">192 </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="L193" class="LineNr">193 </span>  assume-console [
 <span id="L194" class="LineNr">194 </span>    left-click<span class="Constant"> 3</span>,<span class="Constant"> 80</span>
 <span id="L195" class="LineNr">195 </span>    <span class="Comment"># create invalid sandbox 1</span>
@@ -262,7 +262,7 @@ if ('onhashchange' in window) {
 <span id="L200" class="LineNr">200 </span>    press F4
 <span id="L201" class="LineNr">201 </span>  ]
 <span id="L202" class="LineNr">202 </span>  run [
-<span id="L203" class="LineNr">203 </span>    event-loop screen, console, env, resources
+<span id="L203" class="LineNr">203 </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="L204" class="LineNr">204 </span>  ]
 <span id="L205" class="LineNr">205 </span>  <span class="Comment"># status line shows that error is in first sandbox</span>
 <span id="L206" class="LineNr">206 </span>  screen-should-contain [
@@ -276,8 +276,8 @@ if ('onhashchange' in window) {
 <span id="L214" class="LineNr">214 </span>  assume-screen <span class="Constant">100/width</span>, <span class="Constant">15/height</span>
 <span id="L215" class="LineNr">215 </span>  assume-resources [
 <span id="L216" class="LineNr">216 </span>  ]
-<span id="L217" class="LineNr">217 </span>  env:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[]</span>
-<span id="L218" class="LineNr">218 </span>  render-all screen, env, render
+<span id="L217" class="LineNr">217 </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="L218" class="LineNr">218 </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="L219" class="LineNr">219 </span>  assume-console [
 <span id="L220" class="LineNr">220 </span>    left-click<span class="Constant"> 3</span>,<span class="Constant"> 80</span>
 <span id="L221" class="LineNr">221 </span>    <span class="Comment"># create invalid sandbox 2</span>
@@ -291,7 +291,7 @@ if ('onhashchange' in window) {
 <span id="L229" class="LineNr">229 </span>    press F4
 <span id="L230" class="LineNr">230 </span>  ]
 <span id="L231" class="LineNr">231 </span>  run [
-<span id="L232" class="LineNr">232 </span>    event-loop screen, console, env, resources
+<span id="L232" class="LineNr">232 </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="L233" class="LineNr">233 </span>  ]
 <span id="L234" class="LineNr">234 </span>  <span class="Comment"># status line shows that error is in second sandbox</span>
 <span id="L235" class="LineNr">235 </span>  screen-should-contain [
@@ -305,12 +305,12 @@ if ('onhashchange' in window) {
 <span id="L243" class="LineNr">243 </span>  assume-screen <span class="Constant">100/width</span>, <span class="Constant">15/height</span>
 <span id="L244" class="LineNr">244 </span>  assume-resources [
 <span id="L245" class="LineNr">245 </span>  ]
-<span id="L246" class="LineNr">246 </span>  env:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[get foo, x:offset]</span>  <span class="Comment"># invalid</span>
-<span id="L247" class="LineNr">247 </span>  render-all screen, env, render
+<span id="L246" class="LineNr">246 </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="L247" class="LineNr">247 </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="L248" class="LineNr">248 </span>  assume-console [
 <span id="L249" class="LineNr">249 </span>    press F4  <span class="Comment"># generate error</span>
 <span id="L250" class="LineNr">250 </span>  ]
-<span id="L251" class="LineNr">251 </span>  event-loop screen, console, env, resources
+<span id="L251" class="LineNr">251 </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="L252" class="LineNr">252 </span>  assume-console [
 <span id="L253" class="LineNr">253 </span>    left-click<span class="Constant"> 3</span>,<span class="Constant"> 58</span>
 <span id="L254" class="LineNr">254 </span>    press ctrl-k
@@ -318,7 +318,7 @@ if ('onhashchange' in window) {
 <span id="L256" class="LineNr">256 </span>    press F4  <span class="Comment"># update sandbox</span>
 <span id="L257" class="LineNr">257 </span>  ]
 <span id="L258" class="LineNr">258 </span>  run [
-<span id="L259" class="LineNr">259 </span>    event-loop screen, console, env, resources
+<span id="L259" class="LineNr">259 </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="L260" class="LineNr">260 </span>  ]
 <span id="L261" class="LineNr">261 </span>  <span class="Comment"># error should disappear</span>
 <span id="L262" class="LineNr">262 </span>  screen-should-contain [
@@ -348,12 +348,12 @@ if ('onhashchange' in window) {
 <span id="L286" class="LineNr">286 </span><span class="Constant">      |]</span>|
 <span id="L287" class="LineNr">287 </span>    ]
 <span id="L288" class="LineNr">288 </span>  ]
-<span id="L289" class="LineNr">289 </span>  env:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[foo 2]</span>
-<span id="L290" class="LineNr">290 </span>  render-all screen, env, render
+<span id="L289" class="LineNr">289 </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="L290" class="LineNr">290 </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="L291" class="LineNr">291 </span>  assume-console [
 <span id="L292" class="LineNr">292 </span>    press F4
 <span id="L293" class="LineNr">293 </span>  ]
-<span id="L294" class="LineNr">294 </span>  event-loop screen, console, env, resources
+<span id="L294" class="LineNr">294 </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="L295" class="LineNr">295 </span>  screen-should-contain [
 <span id="L296" class="LineNr">296 </span>   <span class="Constant"> .  errors found (0)                                                               run (F4)           .</span>
 <span id="L297" class="LineNr">297 </span>   <span class="Constant"> .recipe foo x:_elem -&gt; z:_elem [                   ╎                                                 .</span>
@@ -371,7 +371,7 @@ if ('onhashchange' in window) {
 <span id="L309" class="LineNr">309 </span>    press F4
 <span id="L310" class="LineNr">310 </span>  ]
 <span id="L311" class="LineNr">311 </span>  run [
-<span id="L312" class="LineNr">312 </span>    event-loop screen, console, env, resources
+<span id="L312" class="LineNr">312 </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="L313" class="LineNr">313 </span>  ]
 <span id="L314" class="LineNr">314 </span>  <span class="Comment"># error should remain unchanged</span>
 <span id="L315" class="LineNr">315 </span>  screen-should-contain [
@@ -395,20 +395,20 @@ if ('onhashchange' in window) {
 <span id="L333" class="LineNr">333 </span>  <span class="Comment"># overload a well-known shape-shifting recipe</span>
 <span id="L334" class="LineNr">334 </span>  assume-resources [
 <span id="L335" class="LineNr">335 </span>    <span class="Constant">[lesson/recipes.mu]</span> <span class="Special">&lt;-</span> [
-<span id="L336" class="LineNr">336 </span>      <span class="Constant">|recipe</span> length l:&amp;:list:_elem<span class="muRecipe"> -&gt; </span>n:num <span class="Constant">[|</span>
+<span id="L336" class="LineNr">336 </span>      <span class="Constant">|recipe</span> length l:&amp;:<a href='../064list.mu.html#L6'>list</a>:_elem<span class="muRecipe"> -&gt; </span>n:num <span class="Constant">[|</span>
 <span id="L337" class="LineNr">337 </span><span class="Constant">      |]</span>|
 <span id="L338" class="LineNr">338 </span>    ]
 <span id="L339" class="LineNr">339 </span>  ]
 <span id="L340" class="LineNr">340 </span>  <span class="Comment"># call code that uses other variants of it, but not it itself</span>
-<span id="L341" class="LineNr">341 </span>  test-sandbox:text <span class="Special">&lt;-</span> new <span class="Constant">[x:&amp;:list:num &lt;- copy 0</span>
+<span id="L341" class="LineNr">341 </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="L342" class="LineNr">342 </span><span class="Constant">to-text x]</span>
-<span id="L343" class="LineNr">343 </span>  env:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, test-sandbox
-<span id="L344" class="LineNr">344 </span>  render-all screen, env, render
+<span id="L343" class="LineNr">343 </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="L344" class="LineNr">344 </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="L345" class="LineNr">345 </span>  <span class="Comment"># run it once</span>
 <span id="L346" class="LineNr">346 </span>  assume-console [
 <span id="L347" class="LineNr">347 </span>    press F4
 <span id="L348" class="LineNr">348 </span>  ]
-<span id="L349" class="LineNr">349 </span>  event-loop screen, console, env, resources
+<span id="L349" class="LineNr">349 </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="L350" class="LineNr">350 </span>  <span class="Comment"># no errors anywhere on screen (can't check anything else, since to-text will return an address)</span>
 <span id="L351" class="LineNr">351 </span>  screen-should-contain-in-color <span class="Constant">1/red</span>, [
 <span id="L352" class="LineNr">352 </span>   <span class="Constant"> .                                                                                                    .</span>
@@ -432,7 +432,7 @@ if ('onhashchange' in window) {
 <span id="L370" class="LineNr">370 </span>    press F4
 <span id="L371" class="LineNr">371 </span>  ]
 <span id="L372" class="LineNr">372 </span>  run [
-<span id="L373" class="LineNr">373 </span>    event-loop screen, console, env, resources
+<span id="L373" class="LineNr">373 </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="L374" class="LineNr">374 </span>  ]
 <span id="L375" class="LineNr">375 </span>  <span class="Comment"># still no errors</span>
 <span id="L376" class="LineNr">376 </span>  screen-should-contain-in-color <span class="Constant">1/red</span>, [
@@ -465,13 +465,13 @@ if ('onhashchange' in window) {
 <span id="L403" class="LineNr">403 </span><span class="Constant">      |]</span>|
 <span id="L404" class="LineNr">404 </span>    ]
 <span id="L405" class="LineNr">405 </span>  ]
-<span id="L406" class="LineNr">406 </span>  env:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[foo]</span>
-<span id="L407" class="LineNr">407 </span>  render-all screen, env, render
+<span id="L406" class="LineNr">406 </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="L407" class="LineNr">407 </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="L408" class="LineNr">408 </span>  assume-console [
 <span id="L409" class="LineNr">409 </span>    press F4
 <span id="L410" class="LineNr">410 </span>  ]
 <span id="L411" class="LineNr">411 </span>  run [
-<span id="L412" class="LineNr">412 </span>    event-loop screen, console, env, resources
+<span id="L412" class="LineNr">412 </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="L413" class="LineNr">413 </span>  ]
 <span id="L414" class="LineNr">414 </span>  screen-should-contain [
 <span id="L415" class="LineNr">415 </span>   <span class="Constant"> .  errors found                                                                   run (F4)           .</span>
@@ -479,7 +479,7 @@ if ('onhashchange' in window) {
 <span id="L417" class="LineNr">417 </span>   <span class="Constant"> .  x &lt;- copy 0                                     ╎─────────────────────────────────────────────────.</span>
 <span id="L418" class="LineNr">418 </span>   <span class="Constant"> .]                                                 ╎                                                 .</span>
 <span id="L419" class="LineNr">419 </span>   <span class="Constant"> .foo: missing type for 'x' in 'x &lt;- copy 0'        ╎                                                 .</span>
-<span id="L420" class="LineNr">420 </span>   <span class="Constant"> .foo: can't copy '0' to 'x'; types don't match     ╎                                                 .</span>
+<span id="L420" class="LineNr">420 </span>   <span class="Constant"> .foo: can't copy '0' to 'x'; types don't <a href='../065duplex_list.mu.html#L585'>match</a>     ╎                                                 .</span>
 <span id="L421" class="LineNr">421 </span>   <span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎                                                 .</span>
 <span id="L422" class="LineNr">422 </span>   <span class="Constant"> .                                                  ╎                                                 .</span>
 <span id="L423" class="LineNr">423 </span>  ]
@@ -496,13 +496,13 @@ if ('onhashchange' in window) {
 <span id="L434" class="LineNr">434 </span><span class="Constant">      |  x &lt;- copy 0|</span>
 <span id="L435" class="LineNr">435 </span><span class="Constant">    ]</span>
 <span id="L436" class="LineNr">436 </span>  ]
-<span id="L437" class="LineNr">437 </span>  env:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[foo]</span>
-<span id="L438" class="LineNr">438 </span>  render-all screen, env, render
+<span id="L437" class="LineNr">437 </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="L438" class="LineNr">438 </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="L439" class="LineNr">439 </span>  assume-console [
 <span id="L440" class="LineNr">440 </span>    press F4
 <span id="L441" class="LineNr">441 </span>  ]
 <span id="L442" class="LineNr">442 </span>  run [
-<span id="L443" class="LineNr">443 </span>    event-loop screen, console, env, resources
+<span id="L443" class="LineNr">443 </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="L444" class="LineNr">444 </span>  ]
 <span id="L445" class="LineNr">445 </span>  screen-should-contain [
 <span id="L446" class="LineNr">446 </span>   <span class="Constant"> .  errors found                                                                   run (F4)           .</span>
@@ -527,13 +527,13 @@ if ('onhashchange' in window) {
 <span id="L465" class="LineNr">465 </span><span class="Constant">      |]</span>|
 <span id="L466" class="LineNr">466 </span>    ]
 <span id="L467" class="LineNr">467 </span>  ]
-<span id="L468" class="LineNr">468 </span>  env:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[foo]</span>
-<span id="L469" class="LineNr">469 </span>  render-all screen, env, render
+<span id="L468" class="LineNr">468 </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="L469" class="LineNr">469 </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="L470" class="LineNr">470 </span>  assume-console [
 <span id="L471" class="LineNr">471 </span>    press F4
 <span id="L472" class="LineNr">472 </span>  ]
 <span id="L473" class="LineNr">473 </span>  run [
-<span id="L474" class="LineNr">474 </span>    event-loop screen, console, env, resources
+<span id="L474" class="LineNr">474 </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="L475" class="LineNr">475 </span>  ]
 <span id="L476" class="LineNr">476 </span>  screen-should-contain [
 <span id="L477" class="LineNr">477 </span>   <span class="Constant"> .  errors found                                                                   run (F4)           .</span>
@@ -563,13 +563,13 @@ if ('onhashchange' in window) {
 <span id="L501" class="LineNr">501 </span><span class="Constant">      |]</span>|
 <span id="L502" class="LineNr">502 </span>    ]
 <span id="L503" class="LineNr">503 </span>  ]
-<span id="L504" class="LineNr">504 </span>  env:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[foo]</span>
-<span id="L505" class="LineNr">505 </span>  render-all screen, env, render
+<span id="L504" class="LineNr">504 </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="L505" class="LineNr">505 </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="L506" class="LineNr">506 </span>  assume-console [
 <span id="L507" class="LineNr">507 </span>    press F4
 <span id="L508" class="LineNr">508 </span>  ]
 <span id="L509" class="LineNr">509 </span>  run [
-<span id="L510" class="LineNr">510 </span>    event-loop screen, console, env, resources
+<span id="L510" class="LineNr">510 </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="L511" class="LineNr">511 </span>  ]
 <span id="L512" class="LineNr">512 </span>  screen-should-contain [
 <span id="L513" class="LineNr">513 </span>   <span class="Constant"> .  errors found                                                                   run (F4)           .</span>
@@ -599,12 +599,12 @@ if ('onhashchange' in window) {
 <span id="L537" class="LineNr">537 </span><span class="Constant">      |]</span>|
 <span id="L538" class="LineNr">538 </span>    ]
 <span id="L539" class="LineNr">539 </span>  ]
-<span id="L540" class="LineNr">540 </span>  env:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[foo]</span>
-<span id="L541" class="LineNr">541 </span>  render-all screen, env, render
+<span id="L540" class="LineNr">540 </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="L541" class="LineNr">541 </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="L542" class="LineNr">542 </span>  assume-console [
 <span id="L543" class="LineNr">543 </span>    press F4
 <span id="L544" class="LineNr">544 </span>  ]
-<span id="L545" class="LineNr">545 </span>  event-loop screen, console, env, resources
+<span id="L545" class="LineNr">545 </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="L546" class="LineNr">546 </span>  screen-should-contain [
 <span id="L547" class="LineNr">547 </span>   <span class="Constant"> .  errors found                                                                   run (F4)           .</span>
 <span id="L548" class="LineNr">548 </span>   <span class="Constant"> .recipe foo [                                      ╎foo                                              .</span>
@@ -621,7 +621,7 @@ if ('onhashchange' in window) {
 <span id="L559" class="LineNr">559 </span>    press F4
 <span id="L560" class="LineNr">560 </span>  ]
 <span id="L561" class="LineNr">561 </span>  run [
-<span id="L562" class="LineNr">562 </span>    event-loop screen, console, env, resources
+<span id="L562" class="LineNr">562 </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="L563" class="LineNr">563 </span>  ]
 <span id="L564" class="LineNr">564 </span>  screen-should-contain [
 <span id="L565" class="LineNr">565 </span>   <span class="Constant"> .  errors found                                                                   run (F4)           .</span>
@@ -649,12 +649,12 @@ if ('onhashchange' in window) {
 <span id="L587" class="LineNr">587 </span><span class="Constant">      |]</span>|
 <span id="L588" class="LineNr">588 </span>    ]
 <span id="L589" class="LineNr">589 </span>  ]
-<span id="L590" class="LineNr">590 </span>  env:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[foo]</span>
-<span id="L591" class="LineNr">591 </span>  render-all screen, env, render
+<span id="L590" class="LineNr">590 </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="L591" class="LineNr">591 </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="L592" class="LineNr">592 </span>  assume-console [
 <span id="L593" class="LineNr">593 </span>    press F4
 <span id="L594" class="LineNr">594 </span>  ]
-<span id="L595" class="LineNr">595 </span>  event-loop screen, console, env, resources
+<span id="L595" class="LineNr">595 </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="L596" class="LineNr">596 </span>  screen-should-contain [
 <span id="L597" class="LineNr">597 </span>   <span class="Constant"> .  errors found                                                                   run (F4)           .</span>
 <span id="L598" class="LineNr">598 </span>   <span class="Constant"> .recipe foo [                                      ╎foo                                              .</span>
@@ -673,7 +673,7 @@ if ('onhashchange' in window) {
 <span id="L611" class="LineNr">611 </span>    type <span class="Constant">[0]</span>
 <span id="L612" class="LineNr">612 </span>    press F4
 <span id="L613" class="LineNr">613 </span>  ]
-<span id="L614" class="LineNr">614 </span>  event-loop screen, console, env, resources
+<span id="L614" class="LineNr">614 </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="L615" class="LineNr">615 </span>  <span class="Comment"># no error anymore</span>
 <span id="L616" class="LineNr">616 </span>  screen-should-contain [
 <span id="L617" class="LineNr">617 </span>   <span class="Constant"> .                                                                                 run (F4)           .</span>
@@ -701,15 +701,15 @@ if ('onhashchange' in window) {
 <span id="L639" class="LineNr">639 </span><span class="Constant">      |]</span>|
 <span id="L640" class="LineNr">640 </span>    ]
 <span id="L641" class="LineNr">641 </span>  ]
-<span id="L642" class="LineNr">642 </span>  env:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[foo]</span>
-<span id="L643" class="LineNr">643 </span>  render-all screen, env, render
+<span id="L642" class="LineNr">642 </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="L643" class="LineNr">643 </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="L644" class="LineNr">644 </span>  <span class="Comment"># hit F4, generating errors, then scroll down</span>
 <span id="L645" class="LineNr">645 </span>  assume-console [
 <span id="L646" class="LineNr">646 </span>    press F4
-<span id="L647" class="LineNr">647 </span>    press page-down
+<span id="L647" class="LineNr">647 </span>    press <a href='003-shortcuts.mu.html#L3597'>page-down</a>
 <span id="L648" class="LineNr">648 </span>  ]
 <span id="L649" class="LineNr">649 </span>  run [
-<span id="L650" class="LineNr">650 </span>    event-loop screen, console, env, resources
+<span id="L650" class="LineNr">650 </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="L651" class="LineNr">651 </span>  ]
 <span id="L652" class="LineNr">652 </span>  <span class="Comment"># errors should be displayed</span>
 <span id="L653" class="LineNr">653 </span>  screen-should-contain [
@@ -728,13 +728,13 @@ if ('onhashchange' in window) {
 <span id="L666" class="LineNr">666 </span>  assume-resources [
 <span id="L667" class="LineNr">667 </span>  ]
 <span id="L668" class="LineNr">668 </span>  <span class="Comment"># sandbox editor contains an illegal instruction</span>
-<span id="L669" class="LineNr">669 </span>  env:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[get 1234:num, foo:offset]</span>
-<span id="L670" class="LineNr">670 </span>  render-all screen, env, render
+<span id="L669" class="LineNr">669 </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="L670" class="LineNr">670 </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="L671" class="LineNr">671 </span>  assume-console [
 <span id="L672" class="LineNr">672 </span>    press F4
 <span id="L673" class="LineNr">673 </span>  ]
 <span id="L674" class="LineNr">674 </span>  run [
-<span id="L675" class="LineNr">675 </span>    event-loop screen, console, env, resources
+<span id="L675" class="LineNr">675 </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="L676" class="LineNr">676 </span>  ]
 <span id="L677" class="LineNr">677 </span>  <span class="Comment"># check that screen prints error message in red</span>
 <span id="L678" class="LineNr">678 </span>  screen-should-contain [
@@ -791,15 +791,15 @@ if ('onhashchange' in window) {
 <span id="L729" class="LineNr">729 </span>  assume-resources [
 <span id="L730" class="LineNr">730 </span>  ]
 <span id="L731" class="LineNr">731 </span>  <span class="Comment"># sandbox editor contains an illegal instruction</span>
-<span id="L732" class="LineNr">732 </span>  env:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[get 1234:num, foo:offset]</span>
-<span id="L733" class="LineNr">733 </span>  render-all screen, env, render
+<span id="L732" class="LineNr">732 </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="L733" class="LineNr">733 </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="L734" class="LineNr">734 </span>  <span class="Comment"># run the code in the editors multiple times</span>
 <span id="L735" class="LineNr">735 </span>  assume-console [
 <span id="L736" class="LineNr">736 </span>    press F4
 <span id="L737" class="LineNr">737 </span>    press F4
 <span id="L738" class="LineNr">738 </span>  ]
 <span id="L739" class="LineNr">739 </span>  run [
-<span id="L740" class="LineNr">740 </span>    event-loop screen, console, env, resources
+<span id="L740" class="LineNr">740 </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"># check that screen prints error message just once</span>
 <span id="L743" class="LineNr">743 </span>  screen-should-contain [
@@ -830,14 +830,14 @@ if ('onhashchange' in window) {
 <span id="L768" class="LineNr">768 </span><span class="Constant">      |]</span>|
 <span id="L769" class="LineNr">769 </span>    ]
 <span id="L770" class="LineNr">770 </span>  ]
-<span id="L771" class="LineNr">771 </span>  env:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[foo]</span>
-<span id="L772" class="LineNr">772 </span>  render-all screen, env, render
+<span id="L771" class="LineNr">771 </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="L772" class="LineNr">772 </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="L773" class="LineNr">773 </span>  <span class="Comment"># run the sandbox</span>
 <span id="L774" class="LineNr">774 </span>  assume-console [
 <span id="L775" class="LineNr">775 </span>    press F4
 <span id="L776" class="LineNr">776 </span>  ]
 <span id="L777" class="LineNr">777 </span>  run [
-<span id="L778" class="LineNr">778 </span>    event-loop screen, console, env, resources
+<span id="L778" class="LineNr">778 </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="L779" class="LineNr">779 </span>  ]
 <span id="L780" class="LineNr">780 </span>  screen-should-contain [
 <span id="L781" class="LineNr">781 </span>   <span class="Constant"> .  errors found (0)                                                               run (F4)           .</span>
@@ -869,13 +869,13 @@ if ('onhashchange' in window) {
 <span id="L807" class="LineNr">807 </span><span class="Constant">      |]|</span>
 <span id="L808" class="LineNr">808 </span>    ]
 <span id="L809" class="LineNr">809 </span>  ]
-<span id="L810" class="LineNr">810 </span>  env:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[foo 4, 0]</span>
-<span id="L811" class="LineNr">811 </span>  render-all screen, env, render
+<span id="L810" class="LineNr">810 </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="L811" class="LineNr">811 </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="L812" class="LineNr">812 </span>  <span class="Comment"># run</span>
 <span id="L813" class="LineNr">813 </span>  assume-console [
 <span id="L814" class="LineNr">814 </span>    press F4
 <span id="L815" class="LineNr">815 </span>  ]
-<span id="L816" class="LineNr">816 </span>  event-loop screen, console, env, resources
+<span id="L816" class="LineNr">816 </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="L817" class="LineNr">817 </span>  <span class="Comment"># screen prints error message</span>
 <span id="L818" class="LineNr">818 </span>  screen-should-contain [
 <span id="L819" class="LineNr">819 </span>   <span class="Constant"> .  errors found (0)                                                               run (F4)           .</span>
@@ -894,7 +894,7 @@ if ('onhashchange' in window) {
 <span id="L832" class="LineNr">832 </span>    left-click<span class="Constant"> 4</span>,<span class="Constant"> 55</span>
 <span id="L833" class="LineNr">833 </span>  ]
 <span id="L834" class="LineNr">834 </span>  run [
-<span id="L835" class="LineNr">835 </span>    event-loop screen, console, env, resources
+<span id="L835" class="LineNr">835 </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="L836" class="LineNr">836 </span>  ]
 <span id="L837" class="LineNr">837 </span>  <span class="Comment"># screen should expand trace</span>
 <span id="L838" class="LineNr">838 </span>  screen-should-contain [