Le dimanche 12 mars 2023 à 16:34 -0700, Saul Tobin a écrit :
> A slightly nicer syntax to workaround this limitation is to use the function: 
>  
> parserDefine =  
> #(define-void-function (name val)(symbol? scheme?)  
>     (ly:parser-define! name val))
> 
> Then instead of var = { ... } you can write \parserDefine var { ... }.
> 
> I believe this was posted on the list a few years ago.

Yes. However, if you end up finding this useful, I consider it likely that it 
indicates you should refactor your code. Off the top, I can't even think of a 
case where this is the best way to proceed.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to