aboutsummaryrefslogtreecommitdiff
path: root/src/f.bqn
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-05-19 21:26:11 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-05-19 21:26:11 -0400
commitcb9b22941fc1ba0d70020c96fb171117fdab5e31 (patch)
tree3e05a79d543f4c8c5e8855ab27a95fc2b8ee8c5d /src/f.bqn
parent782237941e04cfd55e6515f8e97e4fa765a7da9c (diff)
Fix •Repr of empty arrays
Diffstat (limited to 'src/f.bqn')
-rw-r--r--src/f.bqn4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/f.bqn b/src/f.bqn
index 144540b2..217e471e 100644
--- a/src/f.bqn
+++ b/src/f.bqn
@@ -98,11 +98,11 @@
# Represent as string
RR ← {Repr𝕩}
- ReprList ← (⌈´(2‿1‿0»7⥊2)⊏˜Type⌜)◶⟨
+ ReprList ← (0<≠)◶⟨"⟨⟩",(⌈´(2‿1‿0»7⥊2)⊏˜Type⌜)◶⟨
'"' (⊣∾((1+=)/⊢)∾⊣) ⊢
1↓·∾("‿"∾ReprAtom)¨
"⟨"∾"⟩"«·∾(","∾RR)¨
- ⟩
+ ⟩⟩
ReprArr ← (2⌊=)◶⟨"<"∾RR∘⊑,ReprList,≢∾⟜"⥊"⊸∾○ReprList⥊⟩
ReprDat ← (0=Type)◶⟨ReprAtom,ReprArr⟩
ReprOp ← 1⊑ RR _dispOp_ ("Can't represent block"!0˙)