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