On Aug 11, 2012, at 20:58, Vladimir Sedach vsedach@gmail.com wrote:
(compile nil (compile nil (lambda ()))) => NIL (compile '+) => +
The first result is obviously wrong, and the second one is actually as well (according to the HyperSpec, compile should return the function definition of +).
The second one is actually correct behavior (CLHS says "If a non-nil name is given, then the resulting compiled function replaces the existing function definition of name and the name is returned as the primary value").
Rudi