diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-08-23 10:19:23 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-08-23 10:19:23 -0700 |
commit | 90560d7194f3e451ddab9d4033c98d2e6aec977b (patch) | |
tree | f74dc3401501eda0090b23c9a4d7a12d748c3581 /html/061channel.mu.html | |
parent | 63b94083336684c011e2fcdd23226043d0cf6bb7 (diff) | |
download | mu-90560d7194f3e451ddab9d4033c98d2e6aec977b.tar.gz |
2062
Diffstat (limited to 'html/061channel.mu.html')
-rw-r--r-- | html/061channel.mu.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/html/061channel.mu.html b/html/061channel.mu.html index 8fa625b4..350dab6e 100644 --- a/html/061channel.mu.html +++ b/html/061channel.mu.html @@ -13,14 +13,14 @@ pre { white-space: pre-wrap; font-family: monospace; color: #eeeeee; background-color: #080808; } body { font-family: monospace; color: #eeeeee; background-color: #080808; } * { font-size: 1.05em; } -.muControl { color: #c0a020; } -.muRecipe { color: #ff8700; } .muScenario { color: #00af00; } .SalientComment { color: #00ffff; } +.muRecipe { color: #ff8700; } .Comment { color: #9090ff; } .Constant { color: #00a0a0; } .Special { color: #ff6060; } .Delimiter { color: #a04060; } +.muControl { color: #c0a020; } --> </style> @@ -84,7 +84,7 @@ container channel [ <span class="muControl">reply</span> result ] -<span class="Comment"># chan:address:channel <- write chan:address:channel, val:location</span> +<span class="Comment"># chan <- write chan:address:channel, val:location</span> <span class="muRecipe">recipe</span> write [ <span class="Constant">local-scope</span> chan:address:channel<span class="Special"> <- </span><span class="Constant">next-ingredient</span> @@ -113,7 +113,7 @@ container channel [ <span class="muControl">reply</span> chan/same-as-ingredient:<span class="Constant">0</span> ] -<span class="Comment"># result:location, chan:address:channel <- read chan:address:channel</span> +<span class="Comment"># result:location, chan <- read chan:address:channel</span> <span class="muRecipe">recipe</span> read [ <span class="Constant">local-scope</span> chan:address:channel<span class="Special"> <- </span><span class="Constant">next-ingredient</span> @@ -311,7 +311,7 @@ container channel [ ] <span class="Comment"># helper for channels of characters in particular</span> -<span class="Comment"># out:address:channel <- buffer-lines in:address:channel, out:address:channel</span> +<span class="Comment"># out <- buffer-lines in:address:channel, out:address:channel</span> <span class="muRecipe">recipe</span> buffer-lines [ <span class="Constant">local-scope</span> in:address:channel<span class="Special"> <- </span><span class="Constant">next-ingredient</span> @@ -399,7 +399,7 @@ F buffer-lines-blocks-until-newline: channel should be empty <span class="muReci <span class="Constant">9</span>:boolean/completed?<span class="Special"> <- </span>not <span class="Constant">8</span>:boolean assert <span class="Constant">9</span>:boolean/completed?, [ F buffer-lines-blocks-until-newline: channel should contain data <span class="muRecipe">after</span> writing newline] - trace <span class="Constant">[test]</span>, <span class="Constant">[reached end]</span> + trace <span class="Constant">1</span>, <span class="Constant">[test]</span>, <span class="Constant">[reached end]</span> ] trace-should-contain [ test: reached end |