diff options
| author | razetime <raghuallthetime@hotmail.com> | 2022-01-20 11:57:50 +0530 |
|---|---|---|
| committer | razetime <raghuallthetime@hotmail.com> | 2022-01-20 11:57:50 +0530 |
| commit | f3d45a1ca914d59968531a6d5c409d80b73e53c3 (patch) | |
| tree | bc89e3b80c84d854f382e03fdbb5a43e08d791b8 /docs/help/define.html | |
| parent | 97e5db7fa0bf2389589a99ccd26cf84c1e0ced73 (diff) | |
complete REPL help for symbols
Diffstat (limited to 'docs/help/define.html')
| -rw-r--r-- | docs/help/define.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/help/define.html b/docs/help/define.html new file mode 100644 index 00000000..d5399cd1 --- /dev/null +++ b/docs/help/define.html @@ -0,0 +1,22 @@ +<head> + <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/> + <link href="../style.css" rel="stylesheet"/> + <title>BQN: Leftwards Arrow (`←`)</title> +</head> +<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> +<h1 id="leftwards-arrow-"><a class="header" href="#leftwards-arrow-">Leftwards Arrow (<code><span class='Gets'>←</span></code>)</a></h1> +<h2 id="n--v-define"><a class="header" href="#n--v-define"><code><span class='Value'>n</span> <span class='Gets'>←</span> <span class='Value'>v</span></code>: Define</a></h2> +<p>Defines a new variable with name <code><span class='Value'>n</span></code> and value <code><span class='Value'>v</span></code>.</p> +<p>Variable <code><span class='Value'>n</span></code> must not already exist.</p> +<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=4oqiIGEg4oaQIDEKCuKKoiBiIOKGkCAz4oC/MyDipYogNQoKQyDihpAg4oaR">↗️</a><pre> <span class='Function'>⊢</span> <span class='Value'>a</span> <span class='Gets'>←</span> <span class='Number'>1</span> +1 + + <span class='Function'>⊢</span> <span class='Value'>b</span> <span class='Gets'>←</span> <span class='Number'>3</span><span class='Ligature'>‿</span><span class='Number'>3</span> <span class='Function'>⥊</span> <span class='Number'>5</span> +┌─ +╵ 5 5 5 + 5 5 5 + 5 5 5 + ┘ + + <span class='Function'>C</span> <span class='Gets'>←</span> <span class='Function'>↑</span> +</pre> |
