Subject: Re: A portable DIRECTORY-P. Re: Here we go again. More CMUCL/ACL pathname differences. From: Erik Naggum <erik@naggum.no> Date: 1999/01/15 Newsgroups: comp.lang.lisp Message-ID: <3125401498178923@naggum.no> * rpw3@rigden.engr.sgi.com (Rob Warnock) | * (FILE-NAMESTRING #p"/home/") | | "" | * (pathname-name #p"/home/") | | NIL | * (host-namestring #p"/home/") | | "Unix" | * (directory-namestring #p"foo.bar") | | "" I thought we already had the convention that the empty _list_ was "nothing", but CMUCL apparently thinks its better to introduce typed nothings, like empty strings, too. sigh. so, fine, let's test for the empty string in CMUCL, instead. it gives the function a distinctly Scheme-ish flavor as in (not (null? x)), but what the heck, it's free software. (if #+cmucl (< 0 (length file-namestring)) #-cmucl file-namestring ...) the length test would work everywhere, but I want an empty string to be _different_ from no string. #:Erik