Process the list
(defobject-process-init-terms terms required-type wrld) → (mv erp exprs)
We process each item, returning the corresponding list of expressions if successful.
Function:
(defun defobject-process-init-terms (terms required-type wrld) (declare (xargs :guard (and (true-listp terms) (typep required-type) (plist-worldp wrld)))) (let ((__function__ 'defobject-process-init-terms)) (declare (ignorable __function__)) (b* (((reterr) nil) ((when (endp terms)) (retok nil)) ((erp expr) (defobject-process-init-term (car terms) required-type wrld)) ((erp exprs) (defobject-process-init-terms (cdr terms) required-type wrld))) (retok (cons expr exprs)))))