From 5e81613ac137c5641675ceb792ca105d345d98c6 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Thu, 14 Jul 2022 21:02:14 -0400 Subject: Handle transitive dependencies in REPL link code --- docs/doc/lexical.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/doc/lexical.html') diff --git a/docs/doc/lexical.html b/docs/doc/lexical.html index 6ff7f51e..141bef45 100644 --- a/docs/doc/lexical.html +++ b/docs/doc/lexical.html @@ -90,7 +90,7 @@

Why define things this way? It's easier to see if you imagine the variable used is also a function. It's normal for a function to call other functions defined at the top level, of course. And it would be pretty unpleasant for BQN to enforce a specific ordering for them. It would also make recursive functions impossible except by using 𝕊, and mutually recursive ones completely impossible. A simple rule that makes all these things just work smoothly seems much better than any alternative.

Closures

Let's run _makeCount from above a few more times.

-↗️
    C4_2  42 _makeCount  # Start at 4; increment by 2
+↗️
    C4_2  42 _makeCount  # Start at 4; increment by 2
     C1_4  14 _makeCount  #          1;              4
 
     C4_2 0
-- 
cgit v1.2.3