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/static-dispatch.mu.html | |
parent | ef7d834fdd826977cd8d43253052a7b8e1c5aa72 (diff) | |
download | mu-4a48bedcd1d708a43d43dc6259a4e45c52ea3d00.tar.gz |
4134 - 'input' = 'ingredient'
Diffstat (limited to 'html/static-dispatch.mu.html')
-rw-r--r-- | html/static-dispatch.mu.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/html/static-dispatch.mu.html b/html/static-dispatch.mu.html index ee734f6b..26aa6263 100644 --- a/html/static-dispatch.mu.html +++ b/html/static-dispatch.mu.html @@ -65,23 +65,23 @@ if ('onhashchange' in window) { <span id="L8" class="LineNr"> 8 </span> <span id="L9" class="LineNr"> 9 </span><span class="muRecipe">def</span> test a:num<span class="muRecipe"> -> </span>b:num [ <span id="L10" class="LineNr">10 </span> <span class="Constant">local-scope</span> -<span id="L11" class="LineNr">11 </span> <span class="Constant">load-ingredients</span> +<span id="L11" class="LineNr">11 </span> <span class="Constant">load-inputs</span> <span id="L12" class="LineNr">12 </span> b <span class="Special"><-</span> add a,<span class="Constant"> 1</span> <span id="L13" class="LineNr">13 </span>] <span id="L14" class="LineNr">14 </span> <span id="L15" class="LineNr">15 </span><span class="muRecipe">def</span> test a:num, b:num<span class="muRecipe"> -> </span>c:num [ <span id="L16" class="LineNr">16 </span> <span class="Constant">local-scope</span> -<span id="L17" class="LineNr">17 </span> <span class="Constant">load-ingredients</span> +<span id="L17" class="LineNr">17 </span> <span class="Constant">load-inputs</span> <span id="L18" class="LineNr">18 </span> c <span class="Special"><-</span> add a, b <span id="L19" class="LineNr">19 </span>] <span id="L20" class="LineNr">20 </span> <span id="L21" class="LineNr">21 </span><span class="muRecipe">def</span> <a href='static-dispatch.mu.html#L21'>main</a> [ <span id="L22" class="LineNr">22 </span> <span class="Constant">local-scope</span> -<span id="L23" class="LineNr">23 </span> a:num <span class="Special"><-</span> test<span class="Constant"> 3</span> <span class="Comment"># selects single-ingredient version</span> +<span id="L23" class="LineNr">23 </span> a:num <span class="Special"><-</span> test<span class="Constant"> 3</span> <span class="Comment"># selects single-input version</span> <span id="L24" class="LineNr">24 </span> $print a, <span class="Constant">10/newline</span> -<span id="L25" class="LineNr">25 </span> b:num <span class="Special"><-</span> test<span class="Constant"> 3</span>,<span class="Constant"> 4</span> <span class="Comment"># selects double-ingredient version</span> +<span id="L25" class="LineNr">25 </span> b:num <span class="Special"><-</span> test<span class="Constant"> 3</span>,<span class="Constant"> 4</span> <span class="Comment"># selects double-input version</span> <span id="L26" class="LineNr">26 </span> $print b, <span class="Constant">10/newline</span> -<span id="L27" class="LineNr">27 </span> c:num <span class="Special"><-</span> test<span class="Constant"> 3</span>,<span class="Constant"> 4</span>,<span class="Constant"> 5</span> <span class="Comment"># prefers double- to single-ingredient version</span> +<span id="L27" class="LineNr">27 </span> c:num <span class="Special"><-</span> test<span class="Constant"> 3</span>,<span class="Constant"> 4</span>,<span class="Constant"> 5</span> <span class="Comment"># prefers double- to single-input version</span> <span id="L28" class="LineNr">28 </span> $print c, <span class="Constant">10/newline</span> <span id="L29" class="LineNr">29 </span>] </pre> |