ASDF enhancement

Gary King <[email protected]>
Newsgroups gmane.lisp.cclan.general
Message-ID <[email protected]>
The following:

(in-package asdf)

(defmethod perform :around ((o load-op) (c cl-source-file))
   (restart-case
     (call-next-method)
     (recompile ()
                :report
                (lambda (s)
                  (format s "~@<Recompile ~S.~@:>" c))
                (perform (make-instance 'compile-op) c))))

Adds a handy recompile restart for when a load fails for some reason  
(e.g, wrong FASL's).

Thoughts?
-- 
Gary Warren King
metabang.com
http://www.metabang.com/
smime.p7s (application/pkcs7-signature, 2.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.