hint icon indicating copy to clipboard operation
hint copied to clipboard

Showing all bound variables in an interpreter

Open polymorphicengine opened this issue 2 years ago • 2 comments

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

polymorphicengine avatar Jan 03 '22 21:01 polymorphicengine

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

gelisam avatar Jan 03 '22 21:01 gelisam

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.

polymorphicengine avatar Jan 03 '22 21:01 polymorphicengine