Commit 12584716 authored by Robert Goldman's avatar Robert Goldman

Clarify that MAKE-OPERATION is mandatory.

I'm not convinced that this is a good idea, but if it's the direction we
are going, we must put the requirement in the docstring, instead of
hiding it in comments.
parent 52366415
......@@ -52,9 +52,9 @@ and support for them may be discontinued at any moment.
(defparameter* *operations* (make-hash-table :test 'equal))
;; A memoizing way of creating instances of operation.
;; All operations MUST created through this function.
(defun make-operation (operation-class &rest initargs)
"This function creates and memoizes an instance of OPERATION-CLASS.
All operations MUST created through this function.
Use of INITARGS is for backward compatibility and may be discontinued at any time."
(let ((class (coerce-class operation-class
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment