Re: what does "defserverfn" mean?

2013-10-10 Thread Dave Kincaid
Indeed. You will find the defserverfn macro definition in backtype.storm.daemon.common.clj. - Dave On Thursday, October 10, 2013 2:27:38 AM UTC-5, Chris Ford wrote: > > Hi, > > Clojure allows the creation of macros, which means that developers can > define new things that look like the keywords

Re: what does "defserverfn" mean?

2013-10-10 Thread Chris Ford
Hi, Clojure allows the creation of macros, which means that developers can define new things that look like the keywords from other languages. For example, even defn is just a macro that builds on top of the underlying def and fn forms. I expect that the Twitter storm team have a macro called de

what does "defserverfn" mean?

2013-10-10 Thread Waldstein Wang
Hi all, I am a newbie of Clojure and I am reading the source code of Twitter Storm, which has its major functions implemented by Clojure. I find following code: (defserverfn service-handler [conf inimbus] (.prepare inimbus conf (master-inimbus-dir conf)) (log-message "Starting Nimbus with conf