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