[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Why (eval-when-compile (require 'foo)) does not bind functions during co
Why (eval-when-compile (require 'foo)) does not bind functions during compilation?
Sun, 30 Aug 2015 06:40:57 +0200
As in the subject. The manual says that it does define macros from the
library “foo”, but not functions. Why is that so? I would think that
the above form actually evaluates the (require 'foo) part during
compilation, so in particular it should evaluate all the defuns there –
but both experiments and manual confirm that I’m wrong. Where is my
mental model incorrect?
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
- Why (eval-when-compile (require 'foo)) does not bind functions during compilation?,
Marcin Borkowski <=