(deftrans-defn-expr-option names bodies extra-args extra-args-names) → *
Function:
(defun deftrans-defn-expr-option (names bodies extra-args extra-args-names) (declare (xargs :guard (and (alistp names) (alistp bodies) (true-listp extra-args) (true-listp extra-args-names)))) (let ((__function__ 'deftrans-defn-expr-option)) (declare (ignorable __function__)) (deftrans-defn 'expr-option names bodies '((expr? expr-optionp)) extra-args (cons 'expr-option-case (cons 'expr? (cons ':some (cons (cons (cdr (assoc-eq 'expr names)) (cons 'expr?.val extra-args-names)) '(:none nil))))) '(:returns (new-expr? expr-optionp) :measure (expr-option-count expr?)))))