Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • gerd's avatar
    85f76d5e
    Replace ENCAPSULATION-INFO with a funcallable structure · 85f76d5e
    gerd authored
    	ENCAPSULATION, making it possible to write more efficient
    	encapsulations than currently possible.
    
    	* src/code/fdefinition.lisp (fdefn-or-lose): New function.
    	(%coerce-to-function): Use it.
    	(encapsulation): Funcallable structure replacing encapsulation-info.
    	(print-encapsulation-info): Removed.
    	(do-encapsulations): New macro.
    	(encapsulation): Replaces function encapsulation-info.
    	(last-encapsulation, push-encapsulation): New functions.
    	(encapsulate, unencapsulate, encapsulated-p, fdefinition):
    	Rewritten.
    85f76d5e
    History
    Replace ENCAPSULATION-INFO with a funcallable structure
    gerd authored
    	ENCAPSULATION, making it possible to write more efficient
    	encapsulations than currently possible.
    
    	* src/code/fdefinition.lisp (fdefn-or-lose): New function.
    	(%coerce-to-function): Use it.
    	(encapsulation): Funcallable structure replacing encapsulation-info.
    	(print-encapsulation-info): Removed.
    	(do-encapsulations): New macro.
    	(encapsulation): Replaces function encapsulation-info.
    	(last-encapsulation, push-encapsulation): New functions.
    	(encapsulate, unencapsulate, encapsulated-p, fdefinition):
    	Rewritten.