[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue: PATHNAME-WILD (Version 2)
- To: CL-Cleanup@SAIL.Stanford.EDU
- Subject: Re: Issue: PATHNAME-WILD (Version 2)
- From: masinter.pa@Xerox.COM
- Date: 26 Nov 88 20:21 PST
- In-reply-to: Kent M Pitman <KMP@STONY-BROOK.SCRC.Symbolics.COM>'s message of Thu, 6 Oct 88 21:50 EDT
I've always presumed that DIRECTORY was nearly idempotent, e.g.,
(let ((x (directory y)))
(assert (or (null x) (equal (directory (car x)) (list (car x))))))
The example is not quite as compelling if it is always safe to call
DIRECTORY on something that might be a pattern....
I don't think we can accept this and also PATHNAME-CANONICAL-CASE; why not
PATHNAME-CANONICAL-WILD and just declare that "*" is the Common Lisp
pathname wild-card character?