diff options
| author | razetime <raghuallthetime@hotmail.com> | 2022-01-19 22:48:16 +0530 |
|---|---|---|
| committer | razetime <raghuallthetime@hotmail.com> | 2022-01-19 22:48:16 +0530 |
| commit | 2c50d91ec7eb8bc7890befe874a0b93729c2437e (patch) | |
| tree | eb621b86b3c8269ab2dd63bd3c628acdf3521059 /docs/help/reverse_rotate.html | |
| parent | 6c111f1e71e945f66977aecc3322318aa21beacc (diff) | |
add h2s remove copied output, ascii filenames
Diffstat (limited to 'docs/help/reverse_rotate.html')
| -rw-r--r-- | docs/help/reverse_rotate.html | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/help/reverse_rotate.html b/docs/help/reverse_rotate.html new file mode 100644 index 00000000..10b7cbb0 --- /dev/null +++ b/docs/help/reverse_rotate.html @@ -0,0 +1,36 @@ +<head> + <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/> + <link href="../style.css" rel="stylesheet"/> + <title>BQN: Circle Stile (`⌽`)</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="circle-stile-"><a class="header" href="#circle-stile-">Circle Stile (<code><span class='Function'>⌽</span></code>)</a></h1> +<h2 id="--reverse--"><a class="header" href="#--reverse--"><code><span class='Function'>⌽</span> <span class='Value'>𝕩</span></code>: Reverse</a></h2> +<p>Reverse the first axis of <code><span class='Value'>𝕩</span></code>.</p> +<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAg4oy9IDHigL8y4oC/MwoKICAgYSDihpAgM+KAvzMg4qWKIOKGlTkKCiAgIOKMvSBh">↗️</a><pre> <span class='Function'>⌽</span> <span class='Number'>1</span><span class='Ligature'>‿</span><span class='Number'>2</span><span class='Ligature'>‿</span><span class='Number'>3</span> +⟨ 3 2 1 ⟩ + + <span class='Value'>a</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='Function'>↕</span><span class='Number'>9</span> + + <span class='Function'>⌽</span> <span class='Value'>a</span> +┌─ +╵ 6 7 8 + 3 4 5 + 0 1 2 + ┘ +</pre> +<h2 id="---dyad"><a class="header" href="#---dyad"><code><span class='Value'>𝕨</span> <span class='Function'>⌽</span> <span class='Value'>𝕩</span></code>: Dyad</a></h2> +<p>Move the first <code><span class='Value'>𝕨</span></code> elements of <code><span class='Value'>𝕩</span></code> to its end. Negative <code><span class='Value'>𝕨</span></code> reverses the direction of rotation.</p> +<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgMiDijL0gMeKAvzLigL8zCgogICBhIOKGkCAz4oC/MyDipYog4oaVOQoKICAgMiDijL0gYQ==">↗️</a><pre> <span class='Number'>2</span> <span class='Function'>⌽</span> <span class='Number'>1</span><span class='Ligature'>‿</span><span class='Number'>2</span><span class='Ligature'>‿</span><span class='Number'>3</span> +⟨ 3 1 2 ⟩ + + <span class='Value'>a</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='Function'>↕</span><span class='Number'>9</span> +<span class='Error'>Error: Redefinition</span> + + <span class='Number'>2</span> <span class='Function'>⌽</span> <span class='Value'>a</span> +┌─ +╵ 6 7 8 + 0 1 2 + 3 4 5 + ┘ +</pre> |
