What is the difference between a variable and a symbol in LISP?
问题 In terms of scope? Actual implementation in memory? The syntax? For eg, if (let a 1) Is 'a' a variable or a symbol? 回答1: Jörg's answer points in the right direction. Let me add a bit to it. I'll talk about Lisps that are similar to Common Lisp. Symbols as a data structure A symbol is a real data structure in Lisp. You can create symbols, you can use symbols, you can store symbols, you can pass symbols around and symbols can be part of larger data structures, for example lists of symbols. A