opening it up with Common Lisp

Favorite weblogs

Lisp Related

Bill Clementson

Finding Lisp


Planet Lisp



Talking Points Memo

This Modern World

Working for Change

Other home


Recent Readings

Book review: Darwinia
Reviewed: Friday, August 11, 2006

Summer reading: Spin
Reviewed: Saturday, August 5, 2006

Reviewed: Tuesday, July 18, 2006

the Omnivoire's Delimma
Reviewed: Wednesday, July 12, 2006

the Golem's Eye
Reviewed: Wednesday, May 31, 2006


Making pathnames
Monday, January 2, 2006

I usually make path names by doing things like this:

(defparameter *output-directory* 
  (make-pathname :directory `(,@(pathname-directory *working-directory*)
                 :defaults *working-directory*))

Though it always feels more verbose than ought to be necessary. Hmmm, what I'd like to say is? What? (make-subdirectory-pathname *working-directory* "output")?

It's probably safe to assume that all file systems have a folder hierarchy? I suppose that might be false on embedded systems though. Thoughts?


Home | About | Quotes | Recent | Archives

Copyright -- Gary Warren King, 2004 - 2006