Lisp HUG Maillist Archive

A couple of questions on LispWorks defsystem

Hello,

When using defsystem, most of the time I find myself in the situation where I add a member in both :caused-by and :requires clauses, such as in this trivial example:

(defsystem foo ()
  :members ("a" "b")
  :rules ((:in-order-to :compile "b"
           (:caused-by :compile "a")
           (:requires :load "a"))))

Can someone please describe a situation where a member could be in the :caused-by clause, but not in the :requires clause?


Also, after several attempts reading the documentation, I still don't understand the meaning of the keyword :root-module.  How does it affect the loading of a member and how is it related to loading other systems?

Thanks!


Best Regards,
Camille


_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Updated at: 2020-12-10 08:36 UTC