On May 12, 1:18 pm, Ken Wesson <[email protected]> wrote:
> This reads to me
> as implying that hinting (defn ^String foo [] ...) is hinting that foo
> references a String rather than an IFn that returns a String

It is if you use 'foo in argument position. That is, if Foo/bar is
overloaded for String and IFn, then (Foo/bar foo) resolves to the
wrong version.

--
Juha Arpiainen

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to