Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

function to display current env #5

Open
tuturto opened this issue Apr 8, 2016 · 0 comments
Open

function to display current env #5

tuturto opened this issue Apr 8, 2016 · 0 comments

Comments

@tuturto
Copy link
Owner

tuturto commented Apr 8, 2016

It would be useful to be able to query state of env (show currently defined symbols and their values). This probably should return a list of lists of list: a master list containing frames and each frame is a list of symbols defined there. Probably has to be a built in operation, as functions don't normally have access to shadowed symbols. Depends on #4 - list datatype.

=> (define a 5)
5
=> (define b 6)
6
=> (list-env)
(((a 5) (b 6)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant