diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-10-23 19:45:36 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-10-23 19:56:28 -0700 |
commit | f918675c8b11adb80a83000a3a984e4ff3bdcf1b (patch) | |
tree | 2472316e3bf536e0bad76751c5f3504d029b8215 /html/static-dispatch.mu.html | |
parent | af7349d50c40e0604c9bb1e9a50aa1c3c0d407d8 (diff) | |
download | mu-f918675c8b11adb80a83000a3a984e4ff3bdcf1b.tar.gz |
3569
Update syntax highlighting to not color numeric locations like literals.
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 2797735b..6b69da47 100644 --- a/html/static-dispatch.mu.html +++ b/html/static-dispatch.mu.html @@ -31,22 +31,22 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color <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> + b <span class="Special"><-</span> add a,<span class="Constant"> 1</span> ] <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 + c <span class="Special"><-</span> add a, b ] <span class="muRecipe">def</span> main [ <span class="Constant">local-scope</span> - a:num<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:num<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: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> + 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> |