[slime-devel] Re: SBCL-specific function inspection

Nikodemus Siivola nikodemus at random-state.net
Tue Mar 4 11:57:31 UTC 2008


On 3/4/08, Helmut Eller <heller at common-lisp.net> wrote:

> My CLOS skills are pretty much not existent, perhaps somebody could
> help me out on this.  Would it be bad style to do the following in the
> fancy-inspector?

IMO not horribly so, though

 (find-method #'swank:emacs-inspect () (list (find-class 'function)))

should be more portable. #-swank-backend-inspects-functions would be
another option.

...but if beauty and code-reuse is a goal, maybe

 (append ...portable-stuff..
         (swank-backend:inspect-parts ...))

would be worth considering.

Cheers,

 -- Nikodemus



More information about the slime-devel mailing list