In Slime's ASDF contrib, we currently use the following
(defun who-depends-on (system) (flet ((system-dependencies (op system) (mapcar #'(lambda (dep) (asdf::coerce-name (if (consp dep) (second dep) dep))) (cdr (assoc op (asdf:component-depends-on op system)))))) (let ((system-name (asdf::coerce-name system)) (result)) (map-defined-systems #'(lambda (system) (when (member system-name (system-dependencies 'asdf:load-op system) :test #'string=) (push (asdf:component-name system) result)))) result)))
In Slime's ASDF contrib, we currently use the following
(defun who-depends-on (system) dependencies (op system)
(asdf: :coerce- name (if (consp dep) (second dep) dep)))
(cdr (assoc op (asdf:component -depends- on op system)))))) map-defined- systems
(system- dependencies 'asdf:load-op system)
:test #'string=) -name system) result))))
(flet ((system-
(mapcar #'(lambda (dep)
(let ((system-name (asdf::coerce-name system))
(result))
(
#'(lambda (system)
(when (member system-name
(push (asdf:component
result)))