X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/fdc3e506a199dcfe32e748de4010e908f5825b37..34c51b1c9911d604386f0dc77336ad52ea81c68e:/doc/list-exports.lisp diff --git a/doc/list-exports.lisp b/doc/list-exports.lisp index 71a06d9..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 @@ -181,7 +184,8 @@ package)) (remove super (sb-mop:class-direct-superclasses this)))) - (dolist (sub (reverse (gethash this subs))) + (dolist (sub (sort (copy-list (gethash this subs)) + #'string< :key #'class-name)) (walk-down sub this (1+ depth))))) (walk-down (find-class t) nil 0)))) @@ -206,9 +210,10 @@ (labels ((components (comp) (slot-value comp 'asdf::components)) (files (comp) - (remove-if-not (lambda (comp) + (sort (remove-if-not (lambda (comp) (typep comp 'asdf:cl-source-file)) - (components comp))) + (components comp)) + #'string< :key #'asdf:component-name)) (by-name (comp name) (find name (components comp) :test #'string= :key #'asdf:component-name))