On Thursday, August 9, 2012 6:31:16 AM UTC+8, JCB wrote:
> avodono
...@gmail.com wrote:
> > Why CL:REQUIRE is deprecated?
> > Would it be a good if Common Lisp provided some *REQUIRE-HOOKS*
> > variable - a list of functions. Every function in this list
> > is given a chance to load the module when user invokes (REQUIRE "module").
> > So if I want to integrate require with ASDF I say:
> > (push (lambda (module)
> > (asdf:operate 'asdf:load-op module)
> > (provide module))
> > cl:*require-hooks*)
> > If I want to integration REQUIRE with quicklisp:
> > (push (lambda (module)
> > (ql:quickload module)
> > (provide module))
> > cl:*require-hooks*)
> Why don't you have a look at asdf.lisp in the ASDF git repository
> around line 4460 and tell us what you think! :-)
In ASDF if I have to specify :depends-on xxxx, I'd better use load 1.lisp load 2.lisp ...in right order in a single file instead of using asdf.