diff options
| -rw-r--r-- | docs/doc/find.html | 2 | ||||
| -rw-r--r-- | docs/tutorial/list.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/doc/find.html b/docs/doc/find.html index 7d30ff18..e02cc07a 100644 --- a/docs/doc/find.html +++ b/docs/doc/find.html @@ -37,7 +37,7 @@ ⟨⟩ <span class='Number'>9</span> <span class='Function'>↕</span> <span class='String'>"short"</span> -<span class='Error'>Error: 𝕨↕𝕩: Window length 𝕨 must be at most axis length plus one</span> +<span class='Error'>Error: ↕: Window length 𝕨 must be at most axis length plus one</span> <span class='Number'>0</span> <span class='Function'>⊣</span><span class='Modifier'>´</span> <span class='String'>"loooooong"</span> <span class='Function'>⍷</span> <span class='String'>"short"</span> 0 diff --git a/docs/tutorial/list.html b/docs/tutorial/list.html index 2d0e9be9..722c7354 100644 --- a/docs/tutorial/list.html +++ b/docs/tutorial/list.html @@ -339,7 +339,7 @@ </pre> <p>Multiplication is harder, and if we try to multiply by the place value list directly it doesn't go so well.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=KOKMvTLii4bihpU4KSDDlyAnMCcgLcucICIwMTAwMTExMCLigL8iMDExMDAxMDEi4oC/IjAxMTEwMDEwIuKAvyIwMTEwMDEwMCLigL8iMDAxMDAwMDEi">↗️</a><pre> <span class='Paren'>(</span><span class='Function'>⌽</span><span class='Number'>2</span><span class='Function'>⋆↕</span><span class='Number'>8</span><span class='Paren'>)</span> <span class='Function'>×</span> <span class='String'>'0'</span> <span class='Function'>-</span><span class='Modifier'>˜</span> <span class='String'>"01001110"</span><span class='Ligature'>‿</span><span class='String'>"01100101"</span><span class='Ligature'>‿</span><span class='String'>"01110010"</span><span class='Ligature'>‿</span><span class='String'>"01100100"</span><span class='Ligature'>‿</span><span class='String'>"00100001"</span> -<span class='Error'>Error: ×: Expected equal shape prefix (⟨8⟩ ≡ ≢𝕨, ⟨5⟩ ≡ ≢𝕩)</span> +<span class='Error'>Error: Mapping: Expected equal shape prefix (⟨8⟩ ≡ ≢𝕨, ⟨5⟩ ≡ ≢𝕩)</span> </pre> <p>This is because the list on the left has length 8 while the list on the right has length 5. The <em>elements</em> of the list on the right have length 8, but BQN can't be expected to know you want to connect the two arguments in that particular way. Especially considering that if you happen to have 8 characters then the right argument <em>will</em> have length 8!</p> <p>There are a few ways to handle this. What we'll do is <em>bind</em> the place values to <code><span class='Function'>×</span></code> using the 2-modifier <code><span class='Modifier2'>⊸</span></code>. This modifier attaches a left argument to a function.</p> |
