How do I do something after loading a module?
"Sunil Mishra" <[email protected]> Sat, 15 Sep 2007 22:13:00 -0700
| Newsgroups | gmane.lisp.cclan.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'd like to define an operation in ASDF that executes after we've finished loading a module of a custom class. However, I don't see any generic functions defined on modules that correspond to an operation completing on a module. Perform in fact never seems to be called on a module. We simply traverse the module, and call perform on the individual source files collected during the traversal. Is there any way I can get the effect I want? The only thing that comes to mind right now is to add a "fake" source file that depends on all other source files in the module, so that I get a perform called on that source file. Not being able to tell when a module has finished loading seems like an odd design decision. Thanks, Sunil ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/