Now what have you done to my hash character ‽ https://extending-lilypond.gitlab.io/en/extending/lily-and-scheme.html#hash-vs-dollar
oh, ok ok, I get it. But what about the parenthesised alist -> (alist) ‽ I have not found documentation here : https://extending-lilypond.gitlab.io/en/scheme/alists.html nor here : https://lilypond.org/doc/v2.25/Documentation/extending/association-lists-_0028alists_0029 Anywho. IT WORKS ! 😀 'had to change every call to my alist but that wasn't much of a problem since I have functions for those calls. Thank you so much Thomas. -- Greetings Le sam. 13 avr. 2024, à 15 h 36, Thomas Morley <thomasmorle...@gmail.com> a écrit : > Am Sa., 13. Apr. 2024 um 20:59 Uhr schrieb Pierre-Luc Gauthier > <p.luc.gauth...@gmail.com>: > > > > Hello there, > > > > Quite an easy one I'm sure but I tried many combinations to no avail. > > > > I have this symbol that I wish to evaluate later. I thought that was > > what ly:make-music was for. > > > > \version "2.25.15" > > > > #(define anAList ((aVariable . aSymbol))) > > > > aSymbol = {cis'} > > > > { > > #(cdr (assoc 'aVariable anAList)) > > } > > > > How can I make this symbol into music without defining it before the > alist ? > > > > Thanks for any pointers :-) > > -- > > Pierre-Luc Gauthier > > > > Quick'n dirty: > > #(define (anAList) `((aVariable . ,aSymbol))) > > aSymbol = { cis'4 } > > { > $(assoc-get 'aVariable (anAList)) > } > > Cheers, > Harm > -- *Pierre-Luc Gauthier*