Re: ASDF: optimization settings and other enhancements
- From: drewc <drewc@xxxxxxxx>
- Date: Tue, 30 Aug 2005 20:51:04 GMT
John wrote:
On 2005-08-30, Klaus Weidner <kweidner@xxxxxxxxx> wrote:
(defmacro asdf::use (&rest pkgs)
`(eval-when (:compile-toplevel :load-toplevel :execute)
,@(loop for pkg in pkgs collect `(asdf:oos 'asdf:load-op ,pkg))))
This way, (asdf::use :cl-ppcre :xmls) works interactively to load multiple packages.
I guess that's a little shorter than:
(require 'cl-ppcre) (require 'xmls)
but not by much.
I kinda like : (mapcar #'require '(cl-ppcre xmls))
drewc
-- Drew Crampsie drewc at tech dot coop "Never mind the bollocks -- here's the sexp's tools." -- Karl A. Krueger on comp.lang.lisp .
- References:
- ASDF: optimization settings and other enhancements
- From: Klaus Weidner
- Re: ASDF: optimization settings and other enhancements
- From: John
- ASDF: optimization settings and other enhancements
- Prev by Date: Re: Help me come up with a few and simple programming challenges
- Next by Date: Re: Help me come up with a few and simple programming challenges
- Previous by thread: Re: ASDF: optimization settings and other enhancements
- Next by thread: Re: ASDF: optimization settings and other enhancements
- Index(es):