Construct an XDOC tree for an HTML table header cell
See the
Macro:
(defmacro th (&rest args) (mv-let (trees attributes) (partition-macro-args args 'th) (let ((attributes (keyword-macro-args-to-terms attributes))) (list 'th-fn (cons 'list attributes) (cons 'list trees)))))
Function:
(defun th-fn (attributes trees) (declare (xargs :guard (and (keyword-tree-alistp attributes) (tree-listp trees)))) (make-tree-tag :th attributes trees))
Theorem:
(defthm stringp-of-th (equal (treep (th-fn attributes trees)) (and (keyword-tree-alistp attributes) (tree-listp trees))))