Skip to content

lexicial versus dynamic #645

@albertvanderhorst

Description

@albertvanderhorst

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions