diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-01-20 09:04:29 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-01-20 09:15:36 -0500 |
| commit | 55ce1825ebc76493316063ea8b0f7e1c0aa95677 (patch) | |
| tree | 4c68c6872fb3ed26e19c398a3213e71b48c3200e /src/pr.bqn | |
| parent | 36da1bbc50e2a0f7316e2bdf5bc4cc87aad43bc7 (diff) | |
Clean up pr.bqn a little with shift functions
Diffstat (limited to 'src/pr.bqn')
| -rwxr-xr-x | src/pr.bqn | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -28,7 +28,7 @@ def ← ⟨"Type","Decompose","Glyph","Fill","Log","GroupLen","GroupOrd"⟩ keep ← "!+-×÷⋆⌊=≤≢⥊⊑↕⌜`⊘" len ⇐ def+○≠keep ki ← chr⊐keep -kt ← (+`nc)(∾((≠def)∾¯1↓⊣)+⊔⟜⊒∘⍋)ki +kt ← (+`nc)(∾(def≠⊸»⊣)+⊔⟜⊒∘⍋)ki names ↩ (⥊¨kt⊏chr)⌾(ki⊸⊏)names @@ -44,4 +44,4 @@ E_redef ← { # handles [fmd] [←↩] (E_proc 1↑𝕩) ∾ "←" ∾ tail } -ref ⇐ ∾∾⟜(@+10)¨ E_isdef◶E_proc‿E_redef¨ impl∾<"⟨"∾"⟩"∾˜1↓⥊","⊸∾˘chr +ref ⇐ ∾∾⟜(@+10)¨ E_isdef◶E_proc‿E_redef¨ impl∾<"⟨"∾"⟩"«⥊","⊸∾˘chr |
