diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-07-27 17:07:52 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-07-27 17:08:29 -0700 |
commit | 5fe060d582d4a82444243a28b18085c971a85628 (patch) | |
tree | 7a13eb020d0a9cab5d4195da931a373f575229ab /html/exception1.mu.html | |
parent | 013d95266d563a3f531c13eba6d2a6bfe18f8808 (diff) | |
download | mu-5fe060d582d4a82444243a28b18085c971a85628.tar.gz |
4447
Diffstat (limited to 'html/exception1.mu.html')
-rw-r--r-- | html/exception1.mu.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/html/exception1.mu.html b/html/exception1.mu.html index 2810d748..9ddc943f 100644 --- a/html/exception1.mu.html +++ b/html/exception1.mu.html @@ -15,6 +15,7 @@ body { font-size: 12pt; font-family: monospace; color: #aaaaaa; background-color a { color:#eeeeee; text-decoration: none; } a:hover { text-decoration: underline; } * { font-size: 12pt; font-size: 1em; } +.muControl { color: #c0a020; } .muRecipe { color: #ff8700; } .Special { color: #c00000; } .Delimiter { color: #800080; } @@ -22,7 +23,6 @@ a:hover { text-decoration: underline; } .Comment a { color:#0000ee; text-decoration:underline; } .Constant { color: #00a0a0; } .LineNr { color: #444444; } -.muControl { color: #c0a020; } --> </style> @@ -66,8 +66,8 @@ if ('onhashchange' in window) { <span id="L7" class="LineNr"> 7 </span> <span id="L8" class="LineNr"> 8 </span><span class="muRecipe">def</span> <a href='exception1.mu.html#L8'>main</a> [ <span id="L9" class="LineNr"> 9 </span> <span class="Constant">local-scope</span> -<span id="L10" class="LineNr">10 </span> <a href='exception1.mu.html#L15'>foo</a> <span class="Constant">0/no-exception</span> -<span id="L11" class="LineNr">11 </span> <a href='exception1.mu.html#L15'>foo</a> <span class="Constant">1/raise-exception</span> +<span id="L10" class="LineNr">10 </span> <a href='exception1.mu.html#L15'>foo</a><span class="Constant"> false/no-exception</span> +<span id="L11" class="LineNr">11 </span> <a href='exception1.mu.html#L15'>foo</a><span class="Constant"> true/raise-exception</span> <span id="L12" class="LineNr">12 </span>] <span id="L13" class="LineNr">13 </span> <span id="L14" class="LineNr">14 </span><span class="Comment"># example showing exception handling</span> @@ -116,7 +116,7 @@ if ('onhashchange' in window) { <span id="L57" class="LineNr">57 </span> <span class="muControl">return-continuation-until-mark</span> <span class="Constant">999/exception-tag</span>, <span class="Constant">[error will robinson!]</span>, <span class="Constant">0/unused</span> <span id="L58" class="LineNr">58 </span> <span class="Delimiter">}</span> <span id="L59" class="LineNr">59 </span> <span class="Comment"># normal return: 3 results including 0 continuation placeholder at start</span> -<span id="L60" class="LineNr">60 </span> <span class="muControl"> return</span> <span class="Constant">0/continuation-placeholder</span>, <span class="Constant">0/no-error</span>, <span class="Constant">34/regular-result</span> +<span id="L60" class="LineNr">60 </span> <span class="muControl"> return</span> <span class="Constant">0/continuation-placeholder</span>,<span class="Constant"> null/no-error,</span> <span class="Constant">34/regular-result</span> <span id="L61" class="LineNr">61 </span>] </pre> </body> |