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 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 defserverfn 
> defined somewhere in their codebase - don't expect to find it in Clojure 
> documentation or books because it's not part of the core language.
>
> Cheers,
>
> Chris
>
>
> On 10 October 2013 09:36, Waldstein Wang <bhwan...@gmail.com <javascript:>
> > wrote:
>
>> 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 " conf)
>>
>> But I did not find any related information of defserverfn in books or 
>> documents.
>> Can anybody tell me why no books mention this keyword?
>> Thx.
>>
>> -- 
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com<javascript:>
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+u...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to