diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-05-28 11:10:53 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-05-28 11:10:53 -0400 |
| commit | bd4209a653a68929a9fb1a215bbc3e34a393e753 (patch) | |
| tree | b6fef332a9da52abc5f7e6bfe382f13045107823 | |
| parent | cce2056e7723c316e4523b8899068b5061b50cd5 (diff) | |
Merge error message changed
| -rw-r--r-- | docs/doc/enclose.html | 2 | ||||
| -rw-r--r-- | docs/doc/rank.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/doc/enclose.html b/docs/doc/enclose.html index 82fbee31..e00d168b 100644 --- a/docs/doc/enclose.html +++ b/docs/doc/enclose.html @@ -39,7 +39,7 @@ </pre> <p>In this case each call to <code><span class='Function'>+</span><span class='Modifier'>˝</span></code> returns a cell of the result. The result is a list, so its cells are units! Here, <a href="rank.html">Cells</a> (<code><span class='Modifier'>˘</span></code>) "hides" one axis from its operand, and the operand <code><span class='Function'>+</span><span class='Modifier'>˝</span></code> reduces out an axis, leaving zero axes—until Cells assembles the results, putting its axis back. In this case, <code><span class='Function'>+</span><span class='Modifier'>´</span></code> would also be tolerated. But it's wrong, because each result really should be a zero-axis array. We can reveal this by making an array whose elements aren't atoms.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=K8K0y5gg4p+o4oaVMiwiYWIi4p+p4omN4p+o4oaVMywiQUJDIuKfqQoKK8udy5gg4p+o4oaVMiwiYWIi4p+p4omN4p+o4oaVMywiQUJDIuKfqQ==">↗️</a><pre> <span class='Function'>+</span><span class='Modifier'>´˘</span> <span class='Bracket'>⟨</span><span class='Function'>↕</span><span class='Number'>2</span><span class='Separator'>,</span><span class='String'>"ab"</span><span class='Bracket'>⟩</span><span class='Function'>≍</span><span class='Bracket'>⟨</span><span class='Function'>↕</span><span class='Number'>3</span><span class='Separator'>,</span><span class='String'>"ABC"</span><span class='Bracket'>⟩</span> -<span class='Error'>Error: >: Elements didn't have equal shapes (contained ⟨2⟩ and ⟨3⟩)</span> +<span class='Error'>Error: >: Elements didn't have equal shapes (contained shapes ⟨2⟩ and ⟨3⟩)</span> <span class='Function'>+</span><span class='Modifier'>˝˘</span> <span class='Bracket'>⟨</span><span class='Function'>↕</span><span class='Number'>2</span><span class='Separator'>,</span><span class='String'>"ab"</span><span class='Bracket'>⟩</span><span class='Function'>≍</span><span class='Bracket'>⟨</span><span class='Function'>↕</span><span class='Number'>3</span><span class='Separator'>,</span><span class='String'>"ABC"</span><span class='Bracket'>⟩</span> ⟨ "ac" "ACE" ⟩ diff --git a/docs/doc/rank.html b/docs/doc/rank.html index 7253f3b1..aed77354 100644 --- a/docs/doc/rank.html +++ b/docs/doc/rank.html @@ -123,7 +123,7 @@ ┘ <span class='Function'>∾</span><span class='Modifier'>˘</span> <span class='Value'>s</span> -<span class='Error'>Error: >: Elements didn't have equal shapes (contained ⟨11⟩ and ⟨14⟩)</span> +<span class='Error'>Error: >: Elements didn't have equal shapes (contained shapes ⟨11⟩ and ⟨14⟩)</span> <span class='Function'><</span><span class='Modifier2'>∘</span><span class='Function'>∾</span><span class='Modifier'>˘</span> <span class='Value'>s</span> ⟨ "wordsgohere" "someotherwords" ⟩ |
