Makes a CLOS or KnowledgeWorks structure object.
common-lisp
make-instance class &rest initargs => object
class⇩ |
A class object or a symbol. |
initargs⇩ |
Initialization arguments for the object. |
object |
A new instance of class. |
The generic function make-instance
makes a new instance of the class class.
If class is a CLOS class then the behavior is as specified by make-instance in the Common Lisp standard.
If class is a KnowledgeWorks structure class, then initargs are the same as those for the automatically defined constructor function of the structure.
The object is added to the object base of the current inferencing state.
(make-instance 'start) (make-instance 'driver :location 'London :kb-name 'fred)
KnowledgeWorks and Prolog User Guide (Macintosh version) - 01 Dec 2021 19:35:35