Zulu-Inuoe/jzon

FLOAT-FEATURES are loaded in a very very dramatic manner

phoe opened this issue · 2 comments

phoe commented

(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?

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

phoe commented

wait did I really open two issues for that? aaaa I'm sorry I only meant to make one of them