aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-10-31 20:28:50 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-10-31 20:28:50 -0400
commitd88e4b093bfaa4df2cb6c75c3ab1cfcd0a108ff3 (patch)
treeb83e7e98a5ba132680d07193880c1e7ce29efb1e
parent743ca62f5165c8c912feb509ca86303540dec6d6 (diff)
Make VM produce deferred modifier blocks instead of immediate ones returning closures
-rw-r--r--vm.bqn8
1 files changed, 4 insertions, 4 deletions
diff --git a/vm.bqn b/vm.bqn
index b445a17d..c6a876f0 100644
--- a/vm.bqn
+++ b/vm.bqn
@@ -143,10 +143,10 @@ RunBC ← { bc‿pos‿env:
}¨ bodyInfo
blocks ← {type‿imm‿body:
- inner ← type ⊑ ⟨
- {𝕊n: N ⟨⟩}
- {𝕊n: {N 𝕣‿𝕗 }}
- {𝕊n: {N 𝕣‿𝕗‿𝕘}}
+ inner ← imm ⊑ type ⊑ ⟨
+ 2⥊⟨{𝕊n: N ⟨⟩}⟩
+ {𝕊n: {d←N 𝕣‿𝕗 ⋄𝕨D𝕩}}‿{𝕊n: {N 𝕣‿𝕗 }}
+ {𝕊n: {d←N 𝕣‿𝕗‿𝕘⋄𝕨D𝕩}}‿{𝕊n: {N 𝕣‿𝕗‿𝕘}}
outer ← imm ⊑ ⟨
{