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

Allegro CL: default-column-formats uses non-class specializer #17

Open
kmcgivney opened this issue Oct 4, 2022 · 1 comment
Open

Allegro CL: default-column-formats uses non-class specializer #17

kmcgivney opened this issue Oct 4, 2022 · 1 comment

Comments

@kmcgivney
Copy link

The method default-column-formats specializes on the class simple-array. According to the spec (http://clhs.lisp.se/Body/t_smp_ar.htm), simple-array is a type and not a class. An implementation may define it as a class, so this does work in some implementations, but not all. In particular Allegro CL does not treat this type as a class.

@snunez1
Copy link

snunez1 commented Oct 5, 2022

Thanks for the report. The last time I tried loading Lisp-Stat into the Allegro CL Express version, it blew up with heap exhaustion, so I haven't been able to test on that implementation.

There's a few things to try:

  • That method conditionalises on Genera; you might try the same trick for Allegro CL.
  • The method is for printing arrays, and there are other ways to do that, including some functions in array-operations. One option is to use #-allegro to eliminate compiling the method on that implementation, and using an alternative array/matrix printing function

I'd like Lisp-Stat to work on Allegro, so would appreciate knowing what you do to get it working so I can document the workaround or fix the issue.

@Symbolics Symbolics changed the title default-column-formats uses non-class specializer Allegro CL: default-column-formats uses non-class specializer Aug 26, 2023
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