Re: Trying to understand variable capture

2012-01-09 Thread Neal Groothuis
Macro expansion time is not run time, is it? Thanks. :-) On Jan 8, 2:59 pm, Michael Fogus wrote: > The names in the first let only exist at compile time and do not exist when > the expanded form eventually runs. -- You received this message because you are subscribed to the Google Groups "Clo

Trying to understand variable capture

2012-01-08 Thread Neal Groothuis
Hello, I'm reading /Clojure in Action/, and I'm confused by one of the examples. I'm hoping someone can clarify it for me. :-) The author gives an example of an assertion macro: (defmacro assert-true [test-expr] (let [[operator lhs rhs] test-expr] `(let [lhsv# ~lhs rhsv# ~rhs ret# ~test-e