diff options
Diffstat (limited to 'docs/doc/block.html')
| -rw-r--r-- | docs/doc/block.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/doc/block.html b/docs/doc/block.html index 10896e93..1fcd1dd6 100644 --- a/docs/doc/block.html +++ b/docs/doc/block.html @@ -195,8 +195,8 @@ ⟨ 2 4 ⟩ </pre> <p>If no header is compatible, the call results in an error.</p> -<pre> <span class='Number'>3</span> <span class='Function'>CaseAdd</span> <span class='Number'>3</span> -<span class='Function'>ERROR</span> +<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=MyBDYXNlQWRkIDM=">↗️</a><pre> <span class='Number'>3</span> <span class='Function'>CaseAdd</span> <span class='Number'>3</span> +ERROR </pre> <h3 id="case-headers">Case headers</h3> <p>A special rule allows for convenient case-matching syntax for one-argument functions. In any function header with one argument, the function name can be omitted as long as the argument is <em>not</em> a plain identifier—it must be <code><span class='Value'>𝕩</span></code> or a compound value like a list to distinguish it from an immediate block label.</p> |
