DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(goops.info.gz) Generic Function Methods

Info Catalog (goops.info.gz) Generic Functions (goops.info.gz) Introspection
 
 Generic Function Methods
 ------------------------
 
  - primitive procedure: method-generic-function method
      Return the generic function that METHOD belongs to.  This is the
      value of the METHOD metaobject's `generic-function' slot.
 
  - primitive procedure: method-specializers method
      Return a list of METHOD's formal parameter specializers .  This is
      the value of the METHOD metaobject's `specializers' slot.
 
  - primitive procedure: method-procedure method
      Return the procedure that implements METHOD.  This is the value of
      the METHOD metaobject's `procedure' slot.
 
  - generic: method-source
  - method: method-source (m <method>)
      Return an expression that prints to show the definition of method
      M.
 
           (define-generic cube)
           
           (define-method (cube (n <number>))
             (* n n n))
           
           (map method-source (generic-function-methods cube))
           =>
           ((method ((n <number>)) (* n n n)))
 
Info Catalog (goops.info.gz) Generic Functions (goops.info.gz) Introspection
automatically generated byinfo2html