4 ms·
if it's not quoted the list will be treated as an expression, and evaluate "Useless", which is probably not what you want.
by nialo 14y ago
if it's not quoted the list will be treated as an expression, and evaluate "Useless", which is probably not what you want.
- MichaelGG 14y agoRight so instead you'd write: keywords (list "a" "b") ? Which would let you also do complex things like (list (person "bob") ...)
- deleted 14y ago[deleted]
- RaphiePS 14y agoSee my comment above. The core difference is that (list ...) evaluates what's inside. So (list (+ 1 2)) returns (list 3). ' doesn't evaluate anything. So '((+ 1 2)) returns '((+ 1 2)).