default-slot macro
define-access-wrapper macro
define-on-demand-slot macro
+ defvar-unbound macro
designated-condition function
dosequence macro
sb-mop:eql-specializer class
{compose @<function> \&rest @<more-functions> @> @<function>}
\end{describe}
+\begin{describe}{mac}{defvar @<name> @<documentation> @> @<name>}
+\end{describe}
+
\begin{describe}{fun}{symbolicate \&rest @<symbols> @> @<symbol>}
\end{describe}
(multiple-value-call func-b (apply func-a args)))))
(reduce #'compose1 more-functions :initial-value function)))
+;;;--------------------------------------------------------------------------
+;;; Variables.
+
+(export 'defvar-unbound)
+(defmacro defvar-unbound (var doc)
+ "Make VAR a special variable with documentation DOC, but leave it unbound."
+ `(eval-when (:compile-toplevel :load-toplevel :execute)
+ (defvar ,var)
+ (setf (documentation ',var 'variable) ',doc)
+ ',var))
+
;;;--------------------------------------------------------------------------
;;; Symbols.