mal
mal copied to clipboard
lexicial versus dynamic
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.