[email protected] writes: > What is a symbol, it is mentioned once in [1], > "1.2.7 LilyPond compound variables" under section "Property alists" ? > > Reading other texts it seems it is some glorified enum, is that so ? > > What is the difference between a variable and a symbol ?
A variable has a name and a value. A symbol _is_ a name and a value. The name of a variable is a symbol. Its value is something arbitrary. A symbol is essentially identified by the string that is its name, but it is an "interned" string, meaning that identically named symbols have the same address and compare equal with eq? . -- David Kastrup
