(tokenlist-p x) recognizes lists where every element satisfies token-p.
(tokenlist-p x) → std::bool
This is an ordinary deflist. It is
"loose" in that it does not care whether
Function:
(defun tokenlist-p (x) (declare (xargs :guard t)) (let ((__function__ 'tokenlist-p)) (declare (ignorable __function__)) (if (consp x) (and (token-p (car x)) (tokenlist-p (cdr x))) t)))