7.5 The Load Facility

7.5.1 Specifying pathnames

The following extensions affect the way pathnames are specified in Liquid Common Lisp:

To make an absolute pathname, specify the symbol:root at the front of the list that is given for the keyword:directory:

(make-pathname :directory '(:ROOT "u" "jones"))
To make a relative pathname, specify the symbol:relative at the front of the directories list:

(make-pathname :directory '(:RELATIVE "jones"))
> *default-pathname-defaults* 
#P"/etc/" 

> (merge-pathnames "subdir") #P"/etc/subdir"

> (make-pathname :host "edsel" :name "getty" :directory 
                                       '(:root "usr"))
#P"/usr/getty"

If the value ist, the functionpathname-lessp is used to sort the list of pathnames. This value is the default.

If the value isnil, the list is not sorted.


The Advanced User's Guide - 9 SEP 1996

Generated with Harlequin WebMaker