aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fmt.bqn4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fmt.bqn b/src/fmt.bqn
index 3db01657..f1171c1e 100644
--- a/src/fmt.bqn
+++ b/src/fmt.bqn
@@ -1,7 +1,7 @@
# Format an array to a string including newlines
{
F0←𝔽 # Function to format a scalar
- FmtAtom ← (≍ β‰€βŸœβˆžβ—ΆβŸ¨@βŠΈβ‰ β—ΆβŸ¨"@","'"⊸(∾∾⊣)⟩,F0⟩)
+ FmtAtom ← (≍ <⟜@β—ΆβŸ¨@βŠΈβ‰ β—ΆβŸ¨"@","'"⊸(∾∾⊣)⟩,F0⟩)
# Vertical padding for arrays of rank greater than 2
PadV ← {
@@ -52,7 +52,7 @@
(=𝕩) Enframe 2 Pad 𝕨 PaddingJoin Fmt¨𝕩
}
- FmtSimple ← (β‰ (0⊸<+≀)+Β΄)∘(β₯Šβ‰€βˆžΛ™)β—Ά{ # Depth 1
+ FmtSimple ← (β‰ (0⊸<+≀)+Β΄)∘(β₯Š<@Λ™)β—Ά{ # Depth 1
# All characters
k ← ∞⍟(0⊸=) -β‰  c ← Β―1↓≒𝕩
q ← '"'