Raw constructor for wcp-example-app-p structures.
Syntax:
(wcp-example-app instrule bindings)
This is the lowest-level constructor for wcp-example-app-p structures. It simply conses together a structure with the specified fields.
Note: It's generally better to use macros like make-wcp-example-app or change-wcp-example-app instead. These macros lead to more readable and robust code, because you don't have to remember the order of the fields.
The wcp-example-app-p structures we create here are just constructed with ordinary cons. If you want to create honsed structures, see honsed-wcp-example-app instead.
This is an ordinary constructor function introduced by std::defaggregate.
Function:
(defun wcp-example-app (instrule bindings) (declare (xargs :guard (and (wcp-instance-rule-p instrule) (and (pseudo-term-listp bindings) (eql (len bindings) (len (wcp-instance-rule->vars instrule))))))) (cons (cons 'instrule instrule) (cons (cons 'bindings bindings) nil)))