aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-01-31 08:13:39 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-01-31 08:13:39 -0500
commitc12c8b3f6276968f1cc9579402bd5dffdcd984ea (patch)
treed7c4d39a0f74d52a062acf3de4c9b3ac9d727bff
parent99f37de695119fd643b36f373771bcdcc4a626af (diff)
Prevent PrimInd from failing when it's used while defining the runtime
-rw-r--r--bqn.bqn3
1 files changed, 2 insertions, 1 deletions
diff --git a/bqn.bqn b/bqn.bqn
index 00c62cb4..9c85358a 100644
--- a/bqn.bqn
+++ b/bqn.bqn
@@ -4,6 +4,7 @@
⟨DRun,DCompile⟩ ← •Import "dc.bqn"
⟨ref,glyphs⟩ ← •Import "src/pr.bqn"
+rt ← ⟨⟩
PrimInd ← {⊑rt⊐<𝕩}
Decompose ← ((≠glyphs)>PrimInd)◶⟨•Decompose,0⊸≍⟩
provide ← ⟨
@@ -16,5 +17,5 @@ provide ← ⟨
∾⊔∘⊢ # GroupOrd
!,+,-,×,÷,⋆,⌊,=,≤,≢,⥊,⊑,↕,⌜,`,•_fillBy_,⊘
-rt ← •COMP provide⊸(⊣»«)⌾(1⊸⊑) DCompile ref
+rt ↩ •COMP provide⊸(⊣»«)⌾(1⊸⊑) DCompile ref
rt⊸DRun