defgeneric
Defgeneric is a macro in Common Lisp's Object System (CLOS) that defines a generic function. A generic function is a callable entity whose behavior is chosen at runtime by selecting one of its defined methods based on the runtime classes of its arguments. The defgeneric form creates the generic function’s name, its lambda list, and the associated dispatch mechanism, but does not supply any method bodies by itself.
Methods are added with defmethod, each specifying one or more specializers for the corresponding arguments, typically
Dispatch uses the most specific applicable method; if multiple apply, the method combination rules determine the
Notes and relationships: defgeneric itself does not implement method bodies—it defines the interface. defmethod provides concrete