aboutsummaryrefslogtreecommitdiff
path: root/src/pr.bqn
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-01-20 09:04:29 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-01-20 09:15:36 -0500
commit55ce1825ebc76493316063ea8b0f7e1c0aa95677 (patch)
tree4c68c6872fb3ed26e19c398a3213e71b48c3200e /src/pr.bqn
parent36da1bbc50e2a0f7316e2bdf5bc4cc87aad43bc7 (diff)
Clean up pr.bqn a little with shift functions
Diffstat (limited to 'src/pr.bqn')
-rwxr-xr-xsrc/pr.bqn4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pr.bqn b/src/pr.bqn
index 054c15b3..7e12537e 100755
--- a/src/pr.bqn
+++ b/src/pr.bqn
@@ -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