diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-02-20 17:05:35 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-02-20 17:05:35 -0500 |
| commit | bfaff369b3592826bc7d4e5aaba7161815733eea (patch) | |
| tree | 47ff3050f25270858f3188267d17f41937d07cbc | |
| parent | 76fdf8424cb8462b92ca947a395bbd740ae9c7d5 (diff) | |
Fix broken Slice definition
| -rw-r--r-- | mix.bqn | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ Shift ⇐ <⟜0◶⟨↓⎉1 , (-⥊0˙)⊸(∾⎉1)⟩ # Repeat signal 𝕩 𝕨 times. Rep ⇐ (⥊/⟜≍)⎉1 # 𝕨 is location‿length. Obtain that part of signal 𝕩. -Slice ⇐ (SliceI ← +⟜(0⊸⌊+↕∘|)´) ⊏⎉1 ⊢ +Slice ⇐ (SliceI ← +⟜(0⊸⌊+↕∘|)´)∘⊣ ⊏⎉1 ⊢ # Apply 𝔽 to the slice of 𝕩 given by 𝕨. _onSlice ⇐ { 𝔽⌾((SliceI𝕨)⊏⎉1⊢) 𝕩 } |
