Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • gerd's avatar
    e13a9dcb
    A generic function can have more than one name, via · e13a9dcb
    gerd authored
    	(SETF FDEFINITION), and it's possible to define methods with both
    	names.  Method functions are named with the name specified in
    	DEFMETHODS.  Methods metaobjects are unnamed.  Taking this all
    	together means that we must always use METHOD-FUNCTION-GET :NAME
    	to find out the name of a method function if we want to use it.
    
    	This showed up in gray-streams.lisp.  Found by Paul Werkowski.
    
    	* src/pcl/boot.lisp (method-function-name): Moved here from
    	combin.lisp; use method-function-get :name.
    
    	* src/pcl/combin.lisp (method-function-name): Move to boot.lisp.
    e13a9dcb
    History
    A generic function can have more than one name, via
    gerd authored
    	(SETF FDEFINITION), and it's possible to define methods with both
    	names.  Method functions are named with the name specified in
    	DEFMETHODS.  Methods metaobjects are unnamed.  Taking this all
    	together means that we must always use METHOD-FUNCTION-GET :NAME
    	to find out the name of a method function if we want to use it.
    
    	This showed up in gray-streams.lisp.  Found by Paul Werkowski.
    
    	* src/pcl/boot.lisp (method-function-name): Moved here from
    	combin.lisp; use method-function-get :name.
    
    	* src/pcl/combin.lisp (method-function-name): Move to boot.lisp.