lispdoc - results for ldiff

(ldiff list object)
Function: Return a new list, whose elements are those of LIST that appear before OBJECT. If OBJECT is not a tail of LIST, a copy of LIST is returned. LIST must be a proper list or a dotted list.
(defun parse-html-macro-lambda-list (args)
  "Parse a lambda list that can include the &attributes lambda-list-keyword."
  (let ((attr-cons (member '&attributes args)))
    (values (cadr attr-cons)
            (nconc (ldiff args attr-cons)
                   (cddr attr-cons)))))
Mentioned in:
CLtL2 - 15.2. Lists
CLtL2 - 15.5. Using Lists as Sets
HyperSpec - Function LDIFF, TAILP
PCL - list manipulation functions