Hi Budden,
On Tue, Dec 19, 2017 at 11:26 AM, 73budden . budden73@gmail.com wrote:
defun is for definterface, defvar is for defimplementation. This works at least in SBCL, I guess it is handy. Patch is attached. This may seem a bit ugly, but SBCL does not suggest a way to extend its definition database with new classes, so I see no good way to go.
Helmut implemented what seemed like an elegant solution to this issue back in 2014: https://github.com/slime/slime/commit/74ef7010d79fad14db43d6ff989f177a7a8986b5
Sadly, it had to be reverted because ran into SBCL's compiler lock. https://github.com/slime/slime/commit/f63fd440f1beeadd155b871f5d9fc8729c2dfc0d
Perhaps you can come up with a solution? Perhaps there's a way to force compilation of these methods ahead of time? Something else?