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

Showing all bound variables in an interpreter #141

Open
polymorphicengine opened this issue Jan 3, 2022 · 2 comments
Open

Showing all bound variables in an interpreter #141

polymorphicengine opened this issue Jan 3, 2022 · 2 comments

Comments

@polymorphicengine
Copy link

Hey,
is there some way to get the name of all variables bound by the interpreter (using runStmt) ?
In ghci this is possible with :show bindings

@gelisam
Copy link
Contributor

gelisam commented Jan 3, 2022

It is not currently possible, see #101 for a similar question.

@polymorphicengine
Copy link
Author

Thanks for the quick response,
I guess I'll have a look at the implementation of the command in GHCI and try to replicate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants