Basic constructor macro for function-definer-regular structures.
(make-function-definer-regular [:body <body>] [:measure <measure>])
This is the usual way to construct function-definer-regular structures. It simply conses together a structure with the specified fields.
This macro generates a new function-definer-regular structure from scratch. See also change-function-definer-regular, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-function-definer-regular (&rest args) (std::make-aggregate 'function-definer-regular args '((:body) (:measure)) 'make-function-definer-regular nil))
Function:
(defun function-definer-regular (body measure) (declare (xargs :guard (and (expressionp body) (maybe-expressionp measure)))) (declare (xargs :guard t)) (let ((__function__ 'function-definer-regular)) (declare (ignorable __function__)) (b* ((body (mbe :logic (expression-fix body) :exec body)) (measure (mbe :logic (maybe-expression-fix measure) :exec measure))) (cons :regular (list body measure)))))