X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/1344e1f9c923a4d6602d64a33da175f48c7b7b64..34c51b1c9911d604386f0dc77336ad52ea81c68e:/doc/list-exports.lisp diff --git a/doc/list-exports.lisp b/doc/list-exports.lisp index 710da87..fd02f00 100644 --- a/doc/list-exports.lisp +++ b/doc/list-exports.lisp @@ -19,10 +19,13 @@ (defmethod form-list-exports ((head (eql 'definst)) tail) (destructuring-bind (code (streamvar &key export) args &body body) tail - (declare (ignore streamvar args body)) + (declare (ignore streamvar body)) (and export - (list (symbolicate code '-inst) - (symbolicate 'make- code '-inst))))) + (list* (symbolicate code '-inst) + (symbolicate 'make- code '-inst) + (mapcar (lambda (arg) + (symbolicate 'inst- arg)) + args))))) (defmethod form-list-exports ((head (eql 'define-tagged-type)) tail) (destructuring-bind (kind what) tail