Hi, I recently switched from ACL Express to SBCL. In Allegro if I compile a function that includes a local function, like this:

(defun outer-fn ()
  (flet ((inner-fn (x)
       (* x 2)))
    (inner-fn 2)))

...I can then trace the local function like this:

> (trace (flet outer-fn inner-fn))
((FLET OUTER-FN INNER-FN))

> (outer-fn)
 0[7]: ((FLET OUTER-FN INNER-FN) 2)
 0[7]: returned 4
4

Is there a way to do this in SBCL?

Thanks,
Daniel