ruricolist / serapeum

Utilities beyond Alexandria
MIT License
420 stars 41 forks source link

Serapeum cannot be asdf:load-source-op'd #83

Closed astrangeguy closed 3 years ago

astrangeguy commented 3 years ago

I have a workflow and build system that builds a lisp image without creating fasl's on the way (don't ask) and serapeum is not loadable from source.

The culprit is +lock-class+ in threads.lisp which is evaluated by the load-time-eval reader macro in the same file, while the symbol is still unbound.

I would propose to just inline the definition without the defconstant since the constant is not used elsewhere.

ruricolist commented 3 years ago

Sounds reasonable. If you want to make a PR I'll merge it.