diff options
Diffstat (limited to 'html/084console.mu.html')
-rw-r--r-- | html/084console.mu.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/html/084console.mu.html b/html/084console.mu.html index 952c646e..42963a93 100644 --- a/html/084console.mu.html +++ b/html/084console.mu.html @@ -88,14 +88,14 @@ if ('onhashchange' in window) { <span id="L27" class="LineNr"> 27 </span> <span id="L28" class="LineNr"> 28 </span><span class="muRecipe">def</span> <a href='084console.mu.html#L28'>new-fake-console</a> events:&:@:<a href='084console.mu.html#L4'>event</a><span class="muRecipe"> -> </span>result:&:<a href='084console.mu.html#L23'>console</a> [ <span id="L29" class="LineNr"> 29 </span> <span class="Constant">local-scope</span> -<span id="L30" class="LineNr"> 30 </span> <span class="Constant">load-ingredients</span> +<span id="L30" class="LineNr"> 30 </span> <span class="Constant">load-inputs</span> <span id="L31" class="LineNr"> 31 </span> result:&:<a href='084console.mu.html#L23'>console</a> <span class="Special"><-</span> new <span class="Constant"><a href='084console.mu.html#L23'>console</a>:type</span> <span id="L32" class="LineNr"> 32 </span> *result <span class="Special"><-</span> put *result, <span class="Constant">events:offset</span>, events <span id="L33" class="LineNr"> 33 </span>] <span id="L34" class="LineNr"> 34 </span> <span id="L35" class="LineNr"> 35 </span><span class="muRecipe">def</span> <a href='084console.mu.html#L35'>read-event</a> <a href='084console.mu.html#L23'>console</a>:&:<a href='084console.mu.html#L23'>console</a><span class="muRecipe"> -> </span>result:<a href='084console.mu.html#L4'>event</a>, found?:bool, quit?:bool, <a href='084console.mu.html#L23'>console</a>:&:<a href='084console.mu.html#L23'>console</a> [ <span id="L36" class="LineNr"> 36 </span> <span class="Constant">local-scope</span> -<span id="L37" class="LineNr"> 37 </span> <span class="Constant">load-ingredients</span> +<span id="L37" class="LineNr"> 37 </span> <span class="Constant">load-inputs</span> <span id="L38" class="LineNr"> 38 </span> <span class="Delimiter">{</span> <span id="L39" class="LineNr"> 39 </span> <span class="Conceal">¦</span> <span class="muControl">break-unless</span> <a href='084console.mu.html#L23'>console</a> <span id="L40" class="LineNr"> 40 </span> <span class="Conceal">¦</span> current-event-index:num <span class="Special"><-</span> get *console, <span class="Constant">current-event-index:offset</span> @@ -122,7 +122,7 @@ if ('onhashchange' in window) { <span id="L61" class="LineNr"> 61 </span><span class="Comment"># newlines, tabs, ctrl-d..</span> <span id="L62" class="LineNr"> 62 </span><span class="muRecipe">def</span> <a href='084console.mu.html#L62'>read-key</a> <a href='084console.mu.html#L23'>console</a>:&:<a href='084console.mu.html#L23'>console</a><span class="muRecipe"> -> </span>result:char, found?:bool, quit?:bool, <a href='084console.mu.html#L23'>console</a>:&:<a href='084console.mu.html#L23'>console</a> [ <span id="L63" class="LineNr"> 63 </span> <span class="Constant">local-scope</span> -<span id="L64" class="LineNr"> 64 </span> <span class="Constant">load-ingredients</span> +<span id="L64" class="LineNr"> 64 </span> <span class="Constant">load-inputs</span> <span id="L65" class="LineNr"> 65 </span> x:<a href='084console.mu.html#L4'>event</a>, found?:bool, quit?:bool, <a href='084console.mu.html#L23'>console</a> <span class="Special"><-</span> <a href='084console.mu.html#L35'>read-event</a> <a href='084console.mu.html#L23'>console</a> <span id="L66" class="LineNr"> 66 </span> <span class="muControl">return-if</span> quit?,<span class="Constant"> 0</span>, found?, quit? <span id="L67" class="LineNr"> 67 </span> <span class="muControl">return-unless</span> found?,<span class="Constant"> 0</span>, found?, quit? @@ -133,7 +133,7 @@ if ('onhashchange' in window) { <span id="L72" class="LineNr"> 72 </span> <span id="L73" class="LineNr"> 73 </span><span class="muRecipe">def</span> <a href='084console.mu.html#L73'>send-keys-to-channel</a> <a href='084console.mu.html#L23'>console</a>:&:<a href='084console.mu.html#L23'>console</a>, chan:&:<a href='075channel.mu.html#L47'>sink</a>:char, <a href='081print.mu.html#L16'>screen</a>:&:<a href='081print.mu.html#L16'>screen</a><span class="muRecipe"> -> </span><a href='084console.mu.html#L23'>console</a>:&:<a href='084console.mu.html#L23'>console</a>, chan:&:<a href='075channel.mu.html#L47'>sink</a>:char, <a href='081print.mu.html#L16'>screen</a>:&:<a href='081print.mu.html#L16'>screen</a> [ <span id="L74" class="LineNr"> 74 </span> <span class="Constant">local-scope</span> -<span id="L75" class="LineNr"> 75 </span> <span class="Constant">load-ingredients</span> +<span id="L75" class="LineNr"> 75 </span> <span class="Constant">load-inputs</span> <span id="L76" class="LineNr"> 76 </span> <span class="Delimiter">{</span> <span id="L77" class="LineNr"> 77 </span> <span class="Conceal">¦</span> c:char, found?:bool, quit?:bool, <a href='084console.mu.html#L23'>console</a> <span class="Special"><-</span> <a href='084console.mu.html#L62'>read-key</a> <a href='084console.mu.html#L23'>console</a> <span id="L78" class="LineNr"> 78 </span> <span class="Conceal">¦</span> <span class="muControl">loop-unless</span> found? @@ -148,7 +148,7 @@ if ('onhashchange' in window) { <span id="L87" class="LineNr"> 87 </span> <span id="L88" class="LineNr"> 88 </span><span class="muRecipe">def</span> <a href='084console.mu.html#L88'>wait-for-event</a> <a href='084console.mu.html#L23'>console</a>:&:<a href='084console.mu.html#L23'>console</a><span class="muRecipe"> -> </span><a href='084console.mu.html#L23'>console</a>:&:<a href='084console.mu.html#L23'>console</a> [ <span id="L89" class="LineNr"> 89 </span> <span class="Constant">local-scope</span> -<span id="L90" class="LineNr"> 90 </span> <span class="Constant">load-ingredients</span> +<span id="L90" class="LineNr"> 90 </span> <span class="Constant">load-inputs</span> <span id="L91" class="LineNr"> 91 </span> <span class="Delimiter">{</span> <span id="L92" class="LineNr"> 92 </span> <span class="Conceal">¦</span> _, found?:bool <span class="Special"><-</span> <a href='084console.mu.html#L35'>read-event</a> <a href='084console.mu.html#L23'>console</a> <span id="L93" class="LineNr"> 93 </span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> found? @@ -159,7 +159,7 @@ if ('onhashchange' in window) { <span id="L98" class="LineNr"> 98 </span> <span id="L99" class="LineNr"> 99 </span><span class="muRecipe">def</span> <a href='084console.mu.html#L99'>has-more-events?</a> <a href='084console.mu.html#L23'>console</a>:&:<a href='084console.mu.html#L23'>console</a><span class="muRecipe"> -> </span>result:bool [ <span id="L100" class="LineNr">100 </span> <span class="Constant">local-scope</span> -<span id="L101" class="LineNr">101 </span> <span class="Constant">load-ingredients</span> +<span id="L101" class="LineNr">101 </span> <span class="Constant">load-inputs</span> <span id="L102" class="LineNr">102 </span> <span class="muControl">return-if</span> <a href='084console.mu.html#L23'>console</a>, <span class="Constant">0/false</span> <span class="Comment"># fake events are processed as soon as they arrive</span> <span id="L103" class="LineNr">103 </span> result <span class="Special"><-</span> interactions-left? <span id="L104" class="LineNr">104 </span>] |