Skip to content
Snippets Groups Projects
Commit 85f76d5e authored by gerd's avatar gerd
Browse files

Replace ENCAPSULATION-INFO with a funcallable structure

	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.
parent 22f1f550
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment