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