[CM] __func__ in lisp?

Bill Schottstaedt bil at ccrma.Stanford.EDU
Thu Jul 23 09:16:39 PDT 2009


> (function-name #'*) 

but that assumes you have the function object -- Kjetil's code
does what I want, but  I was thinking "surely some lisp has this --
I'll use their name".

(The context is a break macro for s7 which puts a continuation
at the current spot, then jumps to the REPL with the current
environment intact so you can look at function arguments
and local variables, then call the continuation to continue
from the break point; but it would be neat if that macro could
announce what function it (the break) took place in.  There's a
brief example at the end of extensions.scm).



More information about the Cmdist mailing list