But when I have thousands of files, it seems difficult to load the
files one by one. I wonder if there is any easier way to load them?
Greetings,
Wojtek
Try something like:
(defvar *cast-of-thousands* '("hello" "goodbye" "foo" "bar"
"frobozz" "slartibartfast" "macsyma"
"ultimatequestion" "ultimateanswer"))
(defvar *longer-names* (mapcar #'(lambda (x) (make-path :directory
'(:absolute "tmp")
:name x)))
*cast-of-thousands*))
(defun load-it-all (cast)
(dolist (s cast)
(compile-file s)
(load s))
(load-it-all *longer-names*)
--
(concatenate 'string "cbbrowne" "@acm.org")
http://cbbrowne.com/info/emacs.html
"My mom said she learned how to swim. Someone took her out in the lake
and threw her off the boat. That's how she learned how to swim. I
said, 'Mom, they weren't trying to teach you how to swim.' "
-- Paula Poundstone
Wojtek
--
Wojciech Sobczuk
NEMO Labs
http://www.nemo.pl/
> Or just use something like ADSF for managing your project:
> http://ww.telent.net/cliki/asdf
Or MK:DEFSYSTEM. http://sourceforge.net/projects/clocc
>
> Wojtek
>
> --
> Wojciech Sobczuk
> NEMO Labs
> http://www.nemo.pl/
>
--
Marco Antoniotti ========================================================
NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488
715 Broadway 10th Floor fax +1 - 212 - 995 4122
New York, NY 10003, USA http://bioinformatics.cat.nyu.edu
"Hello New York! We'll do what we can!"
Bill Murray in `Ghostbusters'.
> asdf is a declarative system definition tool after the pattern of Mark
> Kantrowitz's defsystem, but with the addition of a defined protocol
> for accessing the system components.
sounds good.