Common Lisp Puzzle
In the last week or so, a puzzle has shown up in one or two different places about a certain strange piece of Lisp code. The code is as follows:
(let (#'1) (+ function 2)) ; ==> 3
It took me a bit to figure out, but the trick is what reader macros expand to. Also, where certain macros are in the code.
Don't have it yet? I'll give you a hint:
(let ('1) (+ quote 2)) ; ==> 3