Urs Liska <[email protected]> writes:

> Hi,
>
> is it possible to retrieve the name of a function currently being defined?
>
> myFunc =
> #(define-void-function (arg)(type?)
>   (display (function-that-returns-'myFunc'))

No.  define-void-function creates an anonymous function.  It's assigned
to myFunc here, but it could also get passed as an argument, made an
element of an array or whatever else.

At the time the function is being defined, there is no name associated
with it.

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to