I don't know what "core.contrib.strutils2" is, but it sounds like "old 
contrib" pre-clojure-1.3.
See http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go

The type-hints-before-the-argument-vector syntax was introduced in Clojure 
1.3 along with primitive type hints, so I would consider it the more 
current style.

The older type-hint-before-the-symbol syntax is still supported, and 
probably won't go away any time soon.

-S


On Monday, June 17, 2013 7:59:47 AM UTC-4, Jim foo.bar wrote:
>
> Hi all, 
>
> It seems to me that return type-hints can go either right after "defn", 
> or after the doc-string. I generally, put the return type-hints right 
> before the argument vector and it seems to get rid of reflection. 
> However, I just had a look at core.contrib.strutils2 and the author(s) 
> put the type hint right after 'defn' (before the var about to be 
> defined) and again it gets rid of reflection! Which one is it? both are 
> acceptable? 
>
> thanks in advance, 
>
> Jim 
>

-- 
-- 
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