4
votes

I want to collect all packages defined during ASDF system loading.

Already tried:

  1. to use difference between (list-all-packages) before and after system loading, but it is not very convenient, because some systems can be loaded as dependencies of the system I'm inspecting of and I need to make a set extraction.

  2. tried to define a initialize-instance :after ((package package) &rest initargs) method, but it does not get called when defpackage form is evaluated.

Also, when I quickloading an ASDF system, I see the [package dexador] in it's output. How does quicklisp do this?

1

1 Answers

6
votes

In Quicklisp I used *macroexpand-hook*.