Filtering...

string-or-symbol-listp

books/std/typed-lists/string-or-symbol-listp

Included Books

top
other
(in-package "ACL2")
include-book
(include-book "xdoc/top" :dir :system)
other
(defsection string-or-symbol-listp
  :parents (std/typed-lists)
  :short "Recognize true lists of strings and symbols."
  (defun string-or-symbol-listp
    (x)
    (declare (xargs :guard t))
    (if (atom x)
      (null x)
      (and (or (stringp (car x)) (symbolp (car x)))
        (string-or-symbol-listp (cdr x))))))