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

Lisp array classes symbols leak into the client's package #6

Open
szmer opened this issue Sep 4, 2016 · 0 comments
Open

Lisp array classes symbols leak into the client's package #6

szmer opened this issue Sep 4, 2016 · 0 comments

Comments

@szmer
Copy link

szmer commented Sep 4, 2016

In SBCL 1.2.11-1 (Fedora), with Quicklisp, symbols generated by LA-MATRIX-TYPE function in runtime (i.e. when a native Lisp array is created by a client) aren't being interned properly. They leak into CL-USER package (or whatever the client's package is), of course cannot be resolved, and debugger pops up.

What it means, it's that you can't use Common Lisp matrices at all. The compiler can't create them.

I fixed it for myself (in my fork) by adding the package prefix to the symbols manually (= with a wrapper function). Not sure why it worked earlier though. If some compilers do add proper package prefixes automatically, this solution may break the code on them.

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

1 participant