[email protected] writes: > Knute Snortum: > ... >> I believe you are referring to this (I'm guessing version 2.24): >> https://lilypond.org/doc/v2.24/Documentation/extending/lilypond-compound-variables >> Please note that most people won't search the documentation to find what >> you mean. Please be precise in future emails. > > Oops, seems my reference got cut off. Well, mostly the same: > Documentation/out-www/en/extending.pdf from git://git.sv.gnu.org/lilypond.git > or https://lilypond.org/doc/v2.25/Documentation/extending/property-alists > if you prefer a web address. > > So let me restate the questions... > What is a symbol, it is mentioned once in the pdf mentioned above ? > Reading other texts it seems it is some glorified enum, is that so ? > What is the difference between a variable and a symbol ? > > Regards, > /Karl Hammar
In Lisp (of which Scheme is a dialect) a "symbol" is an identifier, which can have simultaenous associated values of one or more of various types, including variable or function. Which value type is used depends on context. A slightlhy more detailed explanation is here: https://en.wikipedia.org/wiki/Common_Lisp#Scalar_types -David
