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

make-sequence doesn't understand derived types #22

Open
davidmullen opened this issue Apr 26, 2024 · 1 comment
Open

make-sequence doesn't understand derived types #22

davidmullen opened this issue Apr 26, 2024 · 1 comment
Assignees
Labels

Comments

@davidmullen
Copy link
Contributor

For example:

(deftype buffer32 (&optional (size '*))
  `(simple-array (unsigned-byte 32) (,size)))

Then:

> (make-sequence 'buffer32 1024)


Debugger called in: #<thread "Initial" active (3405) 0x7f49db5ee740 7f49d8ba3000>.

#<a SIMPLE-ERROR 139955071156416>:
    Cannot find the element type in vector type BUFFER32
@jcbeaudoin
Copy link
Owner

I will rewrite cl:make-sequence in the coming days. It is just too ridiculous as it stands right now. Let's keep this issue open until the rewrite is done.

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

No branches or pull requests

2 participants