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