mal icon indicating copy to clipboard operation
mal copied to clipboard

lexicial versus dynamic

Open albertvanderhorst opened this issue 2 years ago • 0 comments

The most straightforward and important test is missing for environments: the test whether environments are truely lexical


(def! a 12)
(def! fx (fn* () a)
(fx)
(def! a 2000)
(fx) 

My implementation gave 12, 2000 of (fx) and apparently this should be 12,12 . So I have heard, but I could be mistaken. The more reason to put this test in.

albertvanderhorst avatar Aug 26 '23 10:08 albertvanderhorst