Le 01/02/2022 à 23:14, Jean Abou Samra a écrit :
Well, if you are ready to get evil, you can do

\version "2.23.5"

includeNamespace =
#(define-scheme-function (filename) (string?)
   (let ((new-parser (ly:parser-clone)))
     (ly:parser-parse-string
      new-parser
      (format #f "\\include ~s" filename))
     (define-music-function (name) (symbol?)


Whoops! This one should rather be
define-scheme-function to allow lookup of arbitrary
values and not just music.


Reply via email to