Re: compile time evaluation

2015-03-19 Thread danle...@gmail.com
Thanks -- I deleted the post as soon as I wrote it but, I guess as Shakespeare said, "stupidity will out". Or something along those lines. But awesome about #= that is exactly what i was looking for -- I was thinking of making my own #eval reader tag so that's nice to have. Sorry again for th

Re: compile time evaluation

2015-03-19 Thread James Reeves
As an aside, there is also an undocumented reader macro #=() that will evaluate at compile time. - James On 19 March 2015 at 17:45, Ambrose Bonnaire-Sergeant < abonnaireserge...@gmail.com> wrote: > Not equivalent, macro expansion happens at compile time, unquotes are > evaluated at runtime. > >

Re: compile time evaluation

2015-03-19 Thread Ambrose Bonnaire-Sergeant
Not equivalent, macro expansion happens at compile time, unquotes are evaluated at runtime. On Thu, Mar 19, 2015 at 11:59 AM, danle...@gmail.com wrote: > I noticed the macro #'const in the im.chit/hara library: > https://github.com/zcaudate/hara/blob/master/src/hara/expression/compile.clj#L3 > >