Re: is destructuring implemented as a macro?

2015-05-13 Thread Fluid Dynamics
On Wednesday, May 13, 2015 at 8:01:33 PM UTC-4, Gary Trakhman wrote: > > You can only safely assume that the first symbol (defn) is a macro, it > turns out 'destructure' is a function called by the macro (which might call > other functions/macros that call other functions/macros :-). > > > https:

Re: is destructuring implemented as a macro?

2015-05-13 Thread Gary Trakhman
You can only safely assume that the first symbol (defn) is a macro, it turns out 'destructure' is a function called by the macro (which might call other functions/macros that call other functions/macros :-). https://github.com/clojure/clojure/blob/master/src/clj/clojure/core.clj#L4233 On Wed, May

is destructuring implemented as a macro?

2015-05-13 Thread piastkrakow
Maybe I should have already known this, but I am struck by this, and I'd like to confirm it. If I'm working with this code: https://github.com/drewr/postal/blob/389162cafab08224e50bd6721cac93fe14ca3257/src/postal/support.clj and if, at the REPL, I do this: user=> (require '[postal.suppor