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