From c12c8b3f6276968f1cc9579402bd5dffdcd984ea Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sun, 31 Jan 2021 08:13:39 -0500 Subject: Prevent PrimInd from failing when it's used while defining the runtime --- bqn.bqn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3