标签: common-lisp
我想知道是否有以下功能:
(equal path (some-function (pathname-directory path)))
答案 0 :(得分:2)
我想如果你只关心目录组件,那么:
(defun some-function (list) (make-pathname :directory list))