[Openmcl-devel] How do I list subdirectories in CCL?

Greg Pfeil greg at clozure.com
Mon Apr 11 13:59:48 UTC 2011


On 11 Apr 2011, at 9:52, Robert Goldman wrote:

> In ACL and SBCL the following works for me:
> 
> (directory (merge-pathnames (make-pathname :name :wild :type :wild)
> (parse-namestring "/Users/rpg/lisp/nst/") ))
> 
> But in CCL this gives me a listing with subdirectories omitted....

I know there's a longer discussion to be found somewhere on _why_ this is the case, but as for the solution, try (directory … :directories t)

http://ccl.clozure.com/manual/chapter4.4.html


More information about the Openmcl-devel mailing list