edicl / chunga

Portable chunked streams for Common Lisp
https://edicl.github.io/chunga/
Other
24 stars 9 forks source link

Fix evaluation time of make-keyword function #4

Closed borodust closed 9 years ago

borodust commented 9 years ago

Should be evaluated at compile time, because used with define-constant macro (at compile-time). Otherwise, it isn't possible to compile the project, e.g. using

(asdf:operate 'asdf:monolithic-compile-concatenated-source-op :chunga)
stassats commented 9 years ago

Splitting functions used in macros into separate files is a common way to avoid having to wrap them into eval-when. And I don't think that this asdf use case is worth it, and you'll going to have problems with may other projects.