diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-10-06 23:51:55 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-10-06 23:51:55 -0700 |
commit | 4a70fb39cc6a0f2ebe34e9b58b873e13d8221015 (patch) | |
tree | 0a9ea58f4d0f3786b1023ae0d347361976a694fa /html/edit/011-errors.mu.html | |
parent | eeed3845cd504028779c333665e0b9fad2070357 (diff) | |
download | mu-4a70fb39cc6a0f2ebe34e9b58b873e13d8221015.tar.gz |
3457
Switch around some unicode characters in the edit/ app so that it renders more cleanly in html (with monospace fonts).
Diffstat (limited to 'html/edit/011-errors.mu.html')
-rw-r--r-- | html/edit/011-errors.mu.html | 264 |
1 files changed, 132 insertions, 132 deletions
diff --git a/html/edit/011-errors.mu.html b/html/edit/011-errors.mu.html index 67c6c5d2..6c69076c 100644 --- a/html/edit/011-errors.mu.html +++ b/html/edit/011-errors.mu.html @@ -166,15 +166,15 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color ] screen-should-contain [ <span class="Constant"> . errors found run (F4) .</span> - <span class="Constant"> . ┊foo .</span> - <span class="Constant"> .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> . get 123:num, foo:offset ┊ .</span> - <span class="Constant"> .] ┊ .</span> - <span class="Constant"> .foo: unknown element 'foo' in container 'number' ┊ .</span> - <span class="Constant"> .foo: first ingredient of 'get' should be a contai↩┊ .</span> - <span class="Constant"> .ner, but got '123:num' ┊ .</span> - <span class="Constant"> .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ .</span> - <span class="Constant"> . ┊ .</span> + <span class="Constant"> . ╎foo .</span> + <span class="Constant"> .recipe foo [ ╎─────────────────────────────────────────────────.</span> + <span class="Constant"> . get 123:num, foo:offset ╎ .</span> + <span class="Constant"> .] ╎ .</span> + <span class="Constant"> .foo: unknown element 'foo' in container 'number' ╎ .</span> + <span class="Constant"> .foo: first ingredient of 'get' should be a contai↩╎ .</span> + <span class="Constant"> .ner, but got '123:num' ╎ .</span> + <span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎ .</span> + <span class="Constant"> . ╎ .</span> ] screen-should-contain-in-color <span class="Constant">1/red</span>, [ <span class="Constant"> . errors found .</span> @@ -261,13 +261,13 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color <span class="Comment"># error should disappear</span> screen-should-contain [ <span class="Constant"> . run (F4) .</span> - <span class="Constant"> . ┊ .</span> -<span class="Constant"> .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> . ┊0 edit copy delete .</span> - <span class="Constant"> . ┊add 2, 2 .</span> - <span class="Constant"> . ┊4 .</span> - <span class="Constant"> . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> . ┊ .</span> + <span class="Constant"> . ╎ .</span> +<span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎─────────────────────────────────────────────────.</span> + <span class="Constant"> . ╎0 edit copy delete .</span> + <span class="Constant"> . ╎add 2, 2 .</span> + <span class="Constant"> . ╎4 .</span> + <span class="Constant"> . ╎─────────────────────────────────────────────────.</span> + <span class="Constant"> . ╎ .</span> ] ] @@ -289,14 +289,14 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color event-loop screen, console, env screen-should-contain [ <span class="Constant"> . errors found (0) run (F4) .</span> - <span class="Constant"> .recipe foo x:_elem -> z:_elem [ ┊ .</span> - <span class="Constant"> .local-scope ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> .load-ingredients ┊0 edit copy delete .</span> - <span class="Constant"> .y:&:num <- copy 0 ┊foo 2 .</span> - <span class="Constant"> .z <- add x, y ┊foo_2: 'add' requires number ingredients, but go↩.</span> - <span class="Constant"> .] ┊t 'y' .</span> -<span class="Constant"> .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> . ┊ .</span> + <span class="Constant"> .recipe foo x:_elem -> z:_elem [ ╎ .</span> + <span class="Constant"> .local-scope ╎─────────────────────────────────────────────────.</span> + <span class="Constant"> .load-ingredients ╎0 edit copy delete .</span> + <span class="Constant"> .y:&:num <- copy 0 ╎foo 2 .</span> + <span class="Constant"> .z <- add x, y ╎foo_2: 'add' requires number ingredients, but go↩.</span> + <span class="Constant"> .] ╎t 'y' .</span> +<span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎─────────────────────────────────────────────────.</span> + <span class="Constant"> . ╎ .</span> ] <span class="Comment"># now rerun everything</span> assume-console [ @@ -308,14 +308,14 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color <span class="Comment"># error should remain unchanged</span> screen-should-contain [ <span class="Constant"> . errors found (0) run (F4) .</span> - <span class="Constant"> .recipe foo x:_elem -> z:_elem [ ┊ .</span> - <span class="Constant"> .local-scope ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> .load-ingredients ┊0 edit copy delete .</span> - <span class="Constant"> .y:&:num <- copy 0 ┊foo 2 .</span> - <span class="Constant"> .z <- add x, y ┊foo_3: 'add' requires number ingredients, but go↩.</span> - <span class="Constant"> .] ┊t 'y' .</span> -<span class="Constant"> .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> . ┊ .</span> + <span class="Constant"> .recipe foo x:_elem -> z:_elem [ ╎ .</span> + <span class="Constant"> .local-scope ╎─────────────────────────────────────────────────.</span> + <span class="Constant"> .load-ingredients ╎0 edit copy delete .</span> + <span class="Constant"> .y:&:num <- copy 0 ╎foo 2 .</span> + <span class="Constant"> .z <- add x, y ╎foo_3: 'add' requires number ingredients, but go↩.</span> + <span class="Constant"> .] ╎t 'y' .</span> +<span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎─────────────────────────────────────────────────.</span> + <span class="Constant"> . ╎ .</span> ] ] @@ -397,11 +397,11 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color ] screen-should-contain [ <span class="Constant"> . errors found run (F4) .</span> - <span class="Constant"> . ┊foo .</span> - <span class="Constant"> .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> . x <- copy 0 ┊ .</span> - <span class="Constant"> .] ┊ .</span> - <span class="Constant"> .foo: missing type for 'x' in 'x <- copy 0' ┊ .</span> + <span class="Constant"> . ╎foo .</span> + <span class="Constant"> .recipe foo [ ╎─────────────────────────────────────────────────.</span> + <span class="Constant"> . x <- copy 0 ╎ .</span> + <span class="Constant"> .] ╎ .</span> + <span class="Constant"> .foo: missing type for 'x' in 'x <- copy 0' ╎ .</span> ] ] @@ -423,13 +423,13 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color ] screen-should-contain [ <span class="Constant"> . errors found run (F4) .</span> - <span class="Constant"> . ┊foo .</span> - <span class="Constant"> .recipe foo \\[ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> . x <- copy 0 ┊ .</span> - <span class="Constant"> . ┊ .</span> - <span class="Constant"> .9: unbalanced '\\[' for recipe ┊ .</span> - <span class="Constant"> .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ .</span> - <span class="Constant"> . ┊ .</span> + <span class="Constant"> . ╎foo .</span> + <span class="Constant"> .recipe foo \\[ ╎─────────────────────────────────────────────────.</span> + <span class="Constant"> . x <- copy 0 ╎ .</span> + <span class="Constant"> . ╎ .</span> + <span class="Constant"> .9: unbalanced '\\[' for recipe ╎ .</span> + <span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎ .</span> + <span class="Constant"> . ╎ .</span> ] ] @@ -452,16 +452,16 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color ] screen-should-contain [ <span class="Constant"> . errors found run (F4) .</span> - <span class="Constant"> . ┊foo .</span> - <span class="Constant"> .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> . local-scope ┊ .</span> - <span class="Constant"> . x:&:point <- new point:type ┊ .</span> - <span class="Constant"> . get x:&:point, 1:offset ┊ .</span> - <span class="Constant"> .] ┊ .</span> - <span class="Constant"> .foo: first ingredient of 'get' should be a contai↩┊ .</span> - <span class="Constant"> .ner, but got 'x:&:point' ┊ .</span> - <span class="Constant"> .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ .</span> - <span class="Constant"> . ┊ .</span> + <span class="Constant"> . ╎foo .</span> + <span class="Constant"> .recipe foo [ ╎─────────────────────────────────────────────────.</span> + <span class="Constant"> . local-scope ╎ .</span> + <span class="Constant"> . x:&:point <- new point:type ╎ .</span> + <span class="Constant"> . get x:&:point, 1:offset ╎ .</span> + <span class="Constant"> .] ╎ .</span> + <span class="Constant"> .foo: first ingredient of 'get' should be a contai↩╎ .</span> + <span class="Constant"> .ner, but got 'x:&:point' ╎ .</span> + <span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎ .</span> + <span class="Constant"> . ╎ .</span> ] ] @@ -485,17 +485,17 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color ] screen-should-contain [ <span class="Constant"> . errors found run (F4) .</span> - <span class="Constant"> . ┊foo .</span> - <span class="Constant"> .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> . local-scope ┊ .</span> - <span class="Constant"> . x:num <- copy 0 ┊ .</span> - <span class="Constant"> . y:&:point <- new point:type ┊ .</span> - <span class="Constant"> . get *y:&:point, x:num ┊ .</span> - <span class="Constant"> .] ┊ .</span> - <span class="Constant"> .foo: second ingredient of 'get' should have type ↩┊ .</span> - <span class="Constant"> .'offset', but got 'x:num' ┊ .</span> - <span class="Constant"> .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ .</span> - <span class="Constant"> . ┊ .</span> + <span class="Constant"> . ╎foo .</span> + <span class="Constant"> .recipe foo [ ╎─────────────────────────────────────────────────.</span> + <span class="Constant"> . local-scope ╎ .</span> + <span class="Constant"> . x:num <- copy 0 ╎ .</span> + <span class="Constant"> . y:&:point <- new point:type ╎ .</span> + <span class="Constant"> . get *y:&:point, x:num ╎ .</span> + <span class="Constant"> .] ╎ .</span> + <span class="Constant"> .foo: second ingredient of 'get' should have type ↩╎ .</span> + <span class="Constant"> .'offset', but got 'x:num' ╎ .</span> + <span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎ .</span> + <span class="Constant"> . ╎ .</span> ] ] @@ -516,14 +516,14 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color event-loop screen, console, env screen-should-contain [ <span class="Constant"> . errors found run (F4) .</span> - <span class="Constant"> . ┊foo .</span> - <span class="Constant"> .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> . local-scope ┊ .</span> - <span class="Constant"> . x:num <- copy y:num ┊ .</span> - <span class="Constant"> .] ┊ .</span> - <span class="Constant"> .foo: use before set: 'y' ┊ .</span> - <span class="Constant"> .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ .</span> - <span class="Constant"> . ┊ .</span> + <span class="Constant"> . ╎foo .</span> + <span class="Constant"> .recipe foo [ ╎─────────────────────────────────────────────────.</span> + <span class="Constant"> . local-scope ╎ .</span> + <span class="Constant"> . x:num <- copy y:num ╎ .</span> + <span class="Constant"> .] ╎ .</span> + <span class="Constant"> .foo: use before set: 'y' ╎ .</span> + <span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎ .</span> + <span class="Constant"> . ╎ .</span> ] <span class="Comment"># rerun the file, check for the same error</span> assume-console [ @@ -534,14 +534,14 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color ] screen-should-contain [ <span class="Constant"> . errors found run (F4) .</span> - <span class="Constant"> . ┊foo .</span> - <span class="Constant"> .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> . local-scope ┊ .</span> - <span class="Constant"> . x:num <- copy y:num ┊ .</span> - <span class="Constant"> .] ┊ .</span> - <span class="Constant"> .foo: use before set: 'y' ┊ .</span> - <span class="Constant"> .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ .</span> - <span class="Constant"> . ┊ .</span> + <span class="Constant"> . ╎foo .</span> + <span class="Constant"> .recipe foo [ ╎─────────────────────────────────────────────────.</span> + <span class="Constant"> . local-scope ╎ .</span> + <span class="Constant"> . x:num <- copy y:num ╎ .</span> + <span class="Constant"> .] ╎ .</span> + <span class="Constant"> .foo: use before set: 'y' ╎ .</span> + <span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎ .</span> + <span class="Constant"> . ╎ .</span> ] ] @@ -562,15 +562,15 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color <span class="Comment"># check that screen prints error message in red</span> screen-should-contain [ <span class="Constant"> . errors found (0) run (F4) .</span> - <span class="Constant"> . ┊ .</span> -<span class="Constant"> .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> . ┊0 edit copy delete .</span> - <span class="Constant"> . ┊get 1234:num, foo:offset .</span> - <span class="Constant"> . ┊unknown element 'foo' in container 'number' .</span> - <span class="Constant"> . ┊first ingredient of 'get' should be a container,↩.</span> - <span class="Constant"> . ┊ but got '1234:num' .</span> - <span class="Constant"> . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> . ┊ .</span> + <span class="Constant"> . ╎ .</span> +<span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎─────────────────────────────────────────────────.</span> + <span class="Constant"> . ╎0 edit copy delete .</span> + <span class="Constant"> . ╎get 1234:num, foo:offset .</span> + <span class="Constant"> . ╎unknown element 'foo' in container 'number' .</span> + <span class="Constant"> . ╎first ingredient of 'get' should be a container,↩.</span> + <span class="Constant"> . ╎ but got '1234:num' .</span> + <span class="Constant"> . ╎─────────────────────────────────────────────────.</span> + <span class="Constant"> . ╎ .</span> ] screen-should-contain-in-color <span class="Constant">7/white</span>, [ <span class="Constant"> . .</span> @@ -595,15 +595,15 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color ] screen-should-contain-in-color <span class="Constant">245/grey</span>, [ <span class="Constant"> . .</span> - <span class="Constant"> . ┊ .</span> -<span class="Constant"> .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> . ┊ .</span> - <span class="Constant"> . ┊ .</span> - <span class="Constant"> . ┊ .</span> - <span class="Constant"> . ┊ ↩.</span> - <span class="Constant"> . ┊ .</span> - <span class="Constant"> . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> . ┊ .</span> + <span class="Constant"> . ╎ .</span> +<span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎─────────────────────────────────────────────────.</span> + <span class="Constant"> . ╎ .</span> + <span class="Constant"> . ╎ .</span> + <span class="Constant"> . ╎ .</span> + <span class="Constant"> . ╎ ↩.</span> + <span class="Constant"> . ╎ .</span> + <span class="Constant"> . ╎─────────────────────────────────────────────────.</span> + <span class="Constant"> . ╎ .</span> ] ] @@ -625,15 +625,15 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color <span class="Comment"># check that screen prints error message just once</span> screen-should-contain [ <span class="Constant"> . errors found (0) run (F4) .</span> - <span class="Constant"> . ┊ .</span> -<span class="Constant"> .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> . ┊0 edit copy delete .</span> - <span class="Constant"> . ┊get 1234:num, foo:offset .</span> - <span class="Constant"> . ┊unknown element 'foo' in container 'number' .</span> - <span class="Constant"> . ┊first ingredient of 'get' should be a container,↩.</span> - <span class="Constant"> . ┊ but got '1234:num' .</span> - <span class="Constant"> . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> . ┊ .</span> + <span class="Constant"> . ╎ .</span> +<span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎─────────────────────────────────────────────────.</span> + <span class="Constant"> . ╎0 edit copy delete .</span> + <span class="Constant"> . ╎get 1234:num, foo:offset .</span> + <span class="Constant"> . ╎unknown element 'foo' in container 'number' .</span> + <span class="Constant"> . ╎first ingredient of 'get' should be a container,↩.</span> + <span class="Constant"> . ╎ but got '1234:num' .</span> + <span class="Constant"> . ╎─────────────────────────────────────────────────.</span> + <span class="Constant"> . ╎ .</span> ] ] @@ -658,13 +658,13 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color ] screen-should-contain [ <span class="Constant"> . errors found (0) run (F4) .</span> - <span class="Constant"> .recipe foo [ ┊ .</span> - <span class="Constant"> . { ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> . loop ┊0 edit copy delete .</span> - <span class="Constant"> . } ┊foo .</span> - <span class="Constant"> .] ┊took too long! .</span> -<span class="Constant"> .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> . ┊ .</span> + <span class="Constant"> .recipe foo [ ╎ .</span> + <span class="Constant"> . { ╎─────────────────────────────────────────────────.</span> + <span class="Constant"> . loop ╎0 edit copy delete .</span> + <span class="Constant"> . } ╎foo .</span> + <span class="Constant"> .] ╎took too long! .</span> +<span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎─────────────────────────────────────────────────.</span> + <span class="Constant"> . ╎ .</span> ] ] @@ -690,14 +690,14 @@ _, c:num<span class="Special"> <- </span>divide-with-remainder a, b <span class="Comment"># screen prints error message</span> screen-should-contain [ <span class="Constant"> . errors found (0) run (F4) .</span> - <span class="Constant"> .recipe foo [ ┊ .</span> - <span class="Constant"> .local-scope ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> .a:num <- next-ingredient ┊0 edit copy delete .</span> - <span class="Constant"> .b:num <- next-ingredient ┊foo 4, 0 .</span> - <span class="Constant"> .stash [dividing by], b ┊foo: divide by zero in '_, c:num <- divide-with-↩.</span> - <span class="Constant"> ._, c:num <- divide-with-remainder a, b ┊remainder a, b' .</span> - <span class="Constant"> .reply b ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> .] ┊ .</span> + <span class="Constant"> .recipe foo [ ╎ .</span> + <span class="Constant"> .local-scope ╎─────────────────────────────────────────────────.</span> + <span class="Constant"> .a:num <- next-ingredient ╎0 edit copy delete .</span> + <span class="Constant"> .b:num <- next-ingredient ╎foo 4, 0 .</span> + <span class="Constant"> .stash [dividing by], b ╎foo: divide by zero in '_, c:num <- divide-with-↩.</span> + <span class="Constant"> ._, c:num <- divide-with-remainder a, b ╎remainder a, b' .</span> + <span class="Constant"> .reply b ╎─────────────────────────────────────────────────.</span> + <span class="Constant"> .] ╎ .</span> ] <span class="Comment"># click on the call in the sandbox</span> assume-console [ @@ -709,15 +709,15 @@ _, c:num<span class="Special"> <- </span>divide-with-remainder a, b <span class="Comment"># screen should expand trace</span> screen-should-contain [ <span class="Constant"> . errors found (0) run (F4) .</span> - <span class="Constant"> .recipe foo [ ┊ .</span> - <span class="Constant"> .local-scope ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> - <span class="Constant"> .a:num <- next-ingredient ┊0 edit copy delete .</span> - <span class="Constant"> .b:num <- next-ingredient ┊foo 4, 0 .</span> - <span class="Constant"> .stash [dividing by], b ┊dividing by 0 .</span> - <span class="Constant"> ._, c:num <- divide-with-remainder a, b ┊14 instructions run .</span> - <span class="Constant"> .reply b ┊foo: divide by zero in '_, c:num <- divide-with-↩.</span> - <span class="Constant"> .] ┊remainder a, b' .</span> -<span class="Constant"> .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.</span> + <span class="Constant"> .recipe foo [ ╎ .</span> + <span class="Constant"> .local-scope ╎─────────────────────────────────────────────────.</span> + <span class="Constant"> .a:num <- next-ingredient ╎0 edit copy delete .</span> + <span class="Constant"> .b:num <- next-ingredient ╎foo 4, 0 .</span> + <span class="Constant"> .stash [dividing by], b ╎dividing by 0 .</span> + <span class="Constant"> ._, c:num <- divide-with-remainder a, b ╎14 instructions run .</span> + <span class="Constant"> .reply b ╎foo: divide by zero in '_, c:num <- divide-with-↩.</span> + <span class="Constant"> .] ╎remainder a, b' .</span> +<span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎─────────────────────────────────────────────────.</span> ] ] </pre> |