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