ASDF: constants

Nikodemus Siivola <[email protected]>
Newsgroups gmane.lisp.cclan.general
Message-ID <[email protected]>
How should I deal with constants when using ASDF?

My problem:

 a.lisp <-- defines a structure and some constant structures
 b.lisp <-- need the constants

However, when it try to load the system, it seems that the constructor is
not defined by the time the system tries to initialize the constant.

I have currently solved this by putting the constants into a separate file
that depends on a.lisp, but is this the "correct" solution?

Cheers,

  -- Nikodemus




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.