aboutsummaryrefslogtreecommitdiff
path: root/src/pr.bqn
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-04 18:43:56 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-04 18:43:56 -0400
commitcf072f50d2e1c600c788d37645721a94c55377c8 (patch)
tree4db511aff5d7ae99838d23f5b0b1022a3fd28e71 /src/pr.bqn
parent399c717259ae8b310a3503d4098acec3b9b65486 (diff)
Let's never use •UCS again
Diffstat (limited to 'src/pr.bqn')
-rwxr-xr-xsrc/pr.bqn6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pr.bqn b/src/pr.bqn
index 4373b4c3..27377a7d 100755
--- a/src/pr.bqn
+++ b/src/pr.bqn
@@ -15,12 +15,12 @@ itr ← 0⥊˜≠chr
init ← " "⊸∾¨(/⟜"_"¨nc/0‿1‿1)∾¨(nc/"FMD")∾¨(nc+´⊸↑⥊"ABC"∾⌜•a)
post ← ∾⟜" "¨/⟜"_"¨nc/0‿0‿1
-names ← init∾¨(•UCS 48)∾¨post
+names ← init∾¨'0'∾¨post
Inc ← {
i←⊑chr⊐𝕩
n←0 ⋄ itr↩{n↩1+𝕩}⌾(i⊑⊢)itr
- names↩((i⊑init)∾(•UCS 48+n)∾i⊑post)⌾(i⊑⊢)names
+ names↩((i⊑init)∾('0'+n)∾i⊑post)⌾(i⊑⊢)names
}
# Required functionality passed in as an argument
@@ -43,5 +43,5 @@ E_redef ← { # handles [fmd] [←↩]
(E_proc 1↑𝕩) ∾ "←" ∾ tail
}
-ref ← ∾∾⟜(•UCS 10)¨ E_isdef◶E_proc‿E_redef¨ impl∾<"⟨"∾"⟩"∾˜1↓⥊","⊸∾˘chr
+ref ← ∾∾⟜(@+10)¨ E_isdef◶E_proc‿E_redef¨ impl∾<"⟨"∾"⟩"∾˜1↓⥊","⊸∾˘chr
⟨ref, def+○≠keep⟩