diff options
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 3e03b537..22097281 100644 --- a/html/static_dispatch.mu.html +++ b/html/static_dispatch.mu.html @@ -28,13 +28,13 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color </head> <body> <pre id='vimCodeElement'> -<span class="muRecipe">def</span> test a:number<span class="muRecipe"> -> </span>b:number [ +<span class="muRecipe">def</span> test a:num<span class="muRecipe"> -> </span>b:num [ <span class="Constant">local-scope</span> <span class="Constant">load-ingredients</span> b<span class="Special"> <- </span>add a, <span class="Constant">1</span> ] -<span class="muRecipe">def</span> test a:number, b:number<span class="muRecipe"> -> </span>c:number [ +<span class="muRecipe">def</span> test a:num, b:num<span class="muRecipe"> -> </span>c:num [ <span class="Constant">local-scope</span> <span class="Constant">load-ingredients</span> c<span class="Special"> <- </span>add a, b @@ -42,11 +42,11 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color <span class="muRecipe">def</span> main [ <span class="Constant">local-scope</span> - a:number<span class="Special"> <- </span>test <span class="Constant">3</span> <span class="Comment"># selects single-ingredient version</span> + a:num<span class="Special"> <- </span>test <span class="Constant">3</span> <span class="Comment"># selects single-ingredient version</span> $print a, <span class="Constant">10/newline</span> - b:number<span class="Special"> <- </span>test <span class="Constant">3</span>, <span class="Constant">4</span> <span class="Comment"># selects double-ingredient version</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> $print b, <span class="Constant">10/newline</span> - c:number<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> + 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> $print c, <span class="Constant">10/newline</span> ] </pre> |