Raw constructor for sd-key-p structures.
Syntax:
(sd-key pat index orig)
This is the lowest-level constructor for sd-key-p structures. It simply conses together a structure with the specified fields.
Note: It's generally better to use macros like make-sd-key or change-sd-key instead. These macros lead to more readable and robust code, because you don't have to remember the order of the fields.
The sd-key-p structures we create here are just constructed with ordinary cons. If you want to create honsed structures, see honsed-sd-key instead.
This is an ordinary constructor function introduced by defaggregate.
Function:
(defun sd-key (pat index orig) (declare (xargs :guard (and (stringp pat) (maybe-natp index) (stringp orig)))) (cons :sd-key (cons pat (cons index orig))))