diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-12-03 23:25:40 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-12-03 23:25:40 -0800 |
commit | 4a48bedcd1d708a43d43dc6259a4e45c52ea3d00 (patch) | |
tree | 85c1b7310cca932797d727a3de8da96eb175d8da /html/066stream.mu.html | |
parent | ef7d834fdd826977cd8d43253052a7b8e1c5aa72 (diff) | |
download | mu-4a48bedcd1d708a43d43dc6259a4e45c52ea3d00.tar.gz |
4134 - 'input' = 'ingredient'
Diffstat (limited to 'html/066stream.mu.html')
-rw-r--r-- | html/066stream.mu.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/html/066stream.mu.html b/html/066stream.mu.html index 217095ac..4c80df9d 100644 --- a/html/066stream.mu.html +++ b/html/066stream.mu.html @@ -67,7 +67,7 @@ if ('onhashchange' in window) { <span id="L6" class="LineNr"> 6 </span> <span id="L7" class="LineNr"> 7 </span><span class="muRecipe">def</span> <a href='066stream.mu.html#L7'>new-stream</a> s:&:@:_elem<span class="muRecipe"> -> </span>result:&:<a href='066stream.mu.html#L2'>stream</a>:_elem [ <span id="L8" class="LineNr"> 8 </span> <span class="Constant">local-scope</span> -<span id="L9" class="LineNr"> 9 </span> <span class="Constant">load-ingredients</span> +<span id="L9" class="LineNr"> 9 </span> <span class="Constant">load-inputs</span> <span id="L10" class="LineNr">10 </span> <span class="muControl">return-unless</span> s, <span class="Constant">0/null</span> <span id="L11" class="LineNr">11 </span> result <span class="Special"><-</span> new <span class="Delimiter">{</span>(stream _elem): type<span class="Delimiter">}</span> <span id="L12" class="LineNr">12 </span> *result <span class="Special"><-</span> put *result, <span class="Constant">index:offset</span>,<span class="Constant"> 0</span> @@ -76,14 +76,14 @@ if ('onhashchange' in window) { <span id="L15" class="LineNr">15 </span> <span id="L16" class="LineNr">16 </span><span class="muRecipe">def</span> <a href='066stream.mu.html#L16'>rewind</a> in:&:<a href='066stream.mu.html#L2'>stream</a>:_elem<span class="muRecipe"> -> </span>in:&:<a href='066stream.mu.html#L2'>stream</a>:_elem [ <span id="L17" class="LineNr">17 </span> <span class="Constant">local-scope</span> -<span id="L18" class="LineNr">18 </span> <span class="Constant">load-ingredients</span> +<span id="L18" class="LineNr">18 </span> <span class="Constant">load-inputs</span> <span id="L19" class="LineNr">19 </span> <span class="muControl">return-unless</span> in <span id="L20" class="LineNr">20 </span> *in <span class="Special"><-</span> put *in, <span class="Constant">index:offset</span>,<span class="Constant"> 0</span> <span id="L21" class="LineNr">21 </span>] <span id="L22" class="LineNr">22 </span> <span id="L23" class="LineNr">23 </span><span class="muRecipe">def</span> read in:&:<a href='066stream.mu.html#L2'>stream</a>:_elem<span class="muRecipe"> -> </span>result:_elem, empty?:bool, in:&:<a href='066stream.mu.html#L2'>stream</a>:_elem [ <span id="L24" class="LineNr">24 </span> <span class="Constant">local-scope</span> -<span id="L25" class="LineNr">25 </span> <span class="Constant">load-ingredients</span> +<span id="L25" class="LineNr">25 </span> <span class="Constant">load-inputs</span> <span id="L26" class="LineNr">26 </span> assert in, <span class="Constant">[cannot read; <a href='066stream.mu.html#L2'>stream</a> has no data]</span> <span id="L27" class="LineNr">27 </span> empty? <span class="Special"><-</span> copy <span class="Constant">0/false</span> <span id="L28" class="LineNr">28 </span> idx:num <span class="Special"><-</span> get *in, <span class="Constant">index:offset</span> @@ -102,7 +102,7 @@ if ('onhashchange' in window) { <span id="L41" class="LineNr">41 </span> <span id="L42" class="LineNr">42 </span><span class="muRecipe">def</span> <a href='066stream.mu.html#L42'>peek</a> in:&:<a href='066stream.mu.html#L2'>stream</a>:_elem<span class="muRecipe"> -> </span>result:_elem, empty?:bool [ <span id="L43" class="LineNr">43 </span> <span class="Constant">local-scope</span> -<span id="L44" class="LineNr">44 </span> <span class="Constant">load-ingredients</span> +<span id="L44" class="LineNr">44 </span> <span class="Constant">load-inputs</span> <span id="L45" class="LineNr">45 </span> assert in, <span class="Constant">[cannot peek; <a href='066stream.mu.html#L2'>stream</a> has no data]</span> <span id="L46" class="LineNr">46 </span> empty?:bool <span class="Special"><-</span> copy <span class="Constant">0/false</span> <span id="L47" class="LineNr">47 </span> idx:num <span class="Special"><-</span> get *in, <span class="Constant">index:offset</span> @@ -119,7 +119,7 @@ if ('onhashchange' in window) { <span id="L58" class="LineNr">58 </span> <span id="L59" class="LineNr">59 </span><span class="muRecipe">def</span> <a href='066stream.mu.html#L59'>read-line</a> in:&:<a href='066stream.mu.html#L2'>stream</a>:char<span class="muRecipe"> -> </span>result:text, in:&:<a href='066stream.mu.html#L2'>stream</a>:char [ <span id="L60" class="LineNr">60 </span> <span class="Constant">local-scope</span> -<span id="L61" class="LineNr">61 </span> <span class="Constant">load-ingredients</span> +<span id="L61" class="LineNr">61 </span> <span class="Constant">load-inputs</span> <span id="L62" class="LineNr">62 </span> assert in, <span class="Constant">[cannot read-line; <a href='066stream.mu.html#L2'>stream</a> has no data]</span> <span id="L63" class="LineNr">63 </span> idx:num <span class="Special"><-</span> get *in, <span class="Constant">index:offset</span> <span id="L64" class="LineNr">64 </span> s:text <span class="Special"><-</span> get *in, <span class="Constant">data:offset</span> @@ -132,7 +132,7 @@ if ('onhashchange' in window) { <span id="L71" class="LineNr">71 </span> <span id="L72" class="LineNr">72 </span><span class="muRecipe">def</span> <a href='066stream.mu.html#L72'>end-of-stream?</a> in:&:<a href='066stream.mu.html#L2'>stream</a>:_elem<span class="muRecipe"> -> </span>result:bool [ <span id="L73" class="LineNr">73 </span> <span class="Constant">local-scope</span> -<span id="L74" class="LineNr">74 </span> <span class="Constant">load-ingredients</span> +<span id="L74" class="LineNr">74 </span> <span class="Constant">load-inputs</span> <span id="L75" class="LineNr">75 </span> assert in, <span class="Constant">[cannot check end-of-stream?; <a href='066stream.mu.html#L2'>stream</a> has no data]</span> <span id="L76" class="LineNr">76 </span> idx:num <span class="Special"><-</span> get *in, <span class="Constant">index:offset</span> <span id="L77" class="LineNr">77 </span> s:&:@:_elem <span class="Special"><-</span> get *in, <span class="Constant">data:offset</span> |