Re: what's the correct behavior of directory-namestring
Michał "phoe" Herda via Sbcl-help <[email protected]> Thu, 31 Jul 2025 14:29:03 +0200
| Newsgroups | gmane.lisp.steel-bank.general |
|---|---|
| Message-ID | <[email protected]> |
W dniu 2025-07-31 14:14, Richard M Kreuter via Sbcl-help napisał(a): > Correct in that Windows and Unix are different, but do you think it's > ideal for DIRECTORY-NAMESTRING to leave off the device for a Windows > pathname? It is also correct because this is what DIRECTORY-NAMESTRING is defined to do - see http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/fun_namestrin_h-namestring.html. Returning the device in addition to the directory would violate the language specification. As for "ideal", what is the actual intent here? Get the whole namestring? #'NAMESTRING will do fine in that case. _______________________________________________ Sbcl-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sbcl-help