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

FLOAT-FEATURES are loaded in a very very dramatic manner #28

Closed
phoe opened this issue Feb 15, 2023 · 2 comments
Closed

FLOAT-FEATURES are loaded in a very very dramatic manner #28

phoe opened this issue Feb 15, 2023 · 2 comments

Comments

@phoe
Copy link

phoe commented Feb 15, 2023

(eval-when (:compile-toplevel :load-toplevel :execute)
(flet ((#1=#:|| (package)
(unless (find-package package)
(cond
((and (find-package '#:ql) (find-symbol (string '#:quickload) '#:ql))
(funcall (find-symbol (string '#:quickload) '#:ql) package))
((and (find-package '#:asdf) (find-symbol (string '#:load-system) '#:asdf))
(funcall (find-symbol (string '#:load-system) '#:asdf) package))
(t
(require package))))))
(#1# '#:float-features)))

Isn't an ASDF dependency on float-features enough?

@Zulu-Inuoe
Copy link
Owner

That won't do anything when loaded through ASDF. It just made it easier to test the code on different optimization settings etc

@phoe
Copy link
Author

phoe commented Feb 15, 2023

wait did I really open two issues for that? aaaa I'm sorry I only meant to make one of 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

2 participants