aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-04-29 19:51:16 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-04-29 19:51:16 -0400
commit6552ee510970d18b48be31c5a08301fbf826fe0b (patch)
tree67da3ffa73090e52fbef0a7e986eaa56da7518e0
parent9d2f6f08c145f03e907bc5e1e25d41e7f024e53e (diff)
Avoid using ⌾⊢ in formatter
-rw-r--r--src/f.bqn2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/f.bqn b/src/f.bqn
index b60643b8..ebfb5c5e 100644
--- a/src/f.bqn
+++ b/src/f.bqn
@@ -60,7 +60,7 @@
FmtSimple ← (≠(0⊸<+≤)+´)∘(⥊<@˙)◶{ # Depth 1
# All characters
- r ← =𝕩 ⋄ 𝕩 ↩ 0↓𝕩⌾⊢""
+ r ← =𝕩 ⋄ 𝕩 ↩ ><¨0↓𝕩 # Ensure rank>0 and ' ' for fill
k ← ∞⍟(0⊸=) -≠ c ← ¯1↓≢𝕩
q ← "'"""⊑˜0<r
# Escape quotes in strings (rank 1) and substitute control chars