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