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