diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-06-02 21:42:44 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-06-02 21:43:09 -0400 |
| commit | c3ea468236e362e4ecc1bc27aed7a64d90e7cf81 (patch) | |
| tree | 772ae1b9812efd404859966768abfc856b99da1d /docs/doc/identity.html | |
| parent | f45ab0c01b250efa190b84f2e1157b85fd52f49f (diff) | |
Always use "index list", not "list index", for a full element index
Diffstat (limited to 'docs/doc/identity.html')
| -rw-r--r-- | docs/doc/identity.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/doc/identity.html b/docs/doc/identity.html index 5ef3bde7..baaf7fa8 100644 --- a/docs/doc/identity.html +++ b/docs/doc/identity.html @@ -69,7 +69,7 @@ </pre> <p>A larger class of block functions can be translated just by adding parentheses and <code><span class='Modifier'>˙</span></code> (there's a discussion of this technique in APL <a href="https://dfns.dyalog.com/n_tacit.htm">here</a>). It's helpful when writing tacit code to know that <code><span class='Function'>Fn</span><span class='Modifier2'>∘</span><span class='Function'>⊣</span></code> applies <code><span class='Function'>Fn</span></code> to the left argument only and <code><span class='Function'>Fn</span><span class='Modifier2'>∘</span><span class='Function'>⊢</span></code> applies it to the right argument—these can be read "Fn of left" and "Fn of right".</p> <h2 id="one-more-thing"><a class="header" href="#one-more-thing">One more thing</a></h2> -<p>You've probably seen <code><span class='Function'>⊢</span></code> used in documentation to display the value of a variable being assigned. This is a hack, and in most contexts <code><span class='Function'>•Show</span></code> should be used to display values.</p> +<p>You've probably seen <code><span class='Function'>⊢</span></code> used in documentation to display the value of a variable being assigned. Normally <code><span class='Function'>•Show</span></code> is used to display values, but the website is sort of a weird context: it displays by default but disables it if the final thing done is an assignment. <code><span class='Function'>⊢</span></code> isn't assignment, so it works arround that rule.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=4oqiIGEg4oaQICJzaG93IHRoaXMi">↗️</a><pre> <span class='Function'>⊢</span> <span class='Value'>a</span> <span class='Gets'>←</span> <span class='String'>"show this"</span> "show this" </pre> |
