[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue: PATHNAME-WILD (Version 2)



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?