diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-09-17 15:01:51 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-09-17 15:01:51 -0700 |
commit | f344b250f6f062a1a1902bf69b23ebf9b565de0e (patch) | |
tree | 199bd32a9aee198d5028b1c21b83d2cf0944b2b6 /html/static_dispatch.mu.html | |
parent | 897ae8c1855f830d8819759ea327d147f28a09bf (diff) | |
download | mu-f344b250f6f062a1a1902bf69b23ebf9b565de0e.tar.gz |
3395
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> |