Hacker News new | ask | show | jobs
by aidenn0 46 days ago
I don't know kernel very well; what will the value of person print as?
1 comments

There's no "external representation" for environments. In klisp it will just print:

    [#environment]
The environment type is encapsulated, so it doesn't give you very useful debug information.

Perhaps having `@` produce an environment is the wrong approach and we should just produce an association list instead - then move `$bindings->environment` into the `?` operative to enable querying.