Re: form comment and meta data?

2017-10-13 Thread Rob Nikander
On Friday, October 13, 2017 at 2:55:51 PM UTC-4, Justin Smith wrote: > > what happens is that the metadata reader macro is applied before the > comment reader macro, so you comment out the name of the def (which also > had the metadata attached) > > user=> '(def #_ ^:private foo 1) > (def 1) >

Re: form comment and meta data?

2017-10-13 Thread Justin Smith
what happens is that the metadata reader macro is applied before the comment reader macro, so you comment out the name of the def (which also had the metadata attached) user=> '(def #_ ^:private foo 1) (def 1) On Fri, Oct 13, 2017 at 11:48 AM Rob Nikander wrote: > Hi, > > Why doesn't this compi

form comment and meta data?

2017-10-13 Thread Rob Nikander
Hi, Why doesn't this compile? I tried to comment out the "private" metadata. (def #_^:private foo 1) CompilerException java.lang.RuntimeException: First argument to def must be a Symbol, compiling:(null:1:1) Rob -- You received this message because you are subscribed to the Google Grou