The current syntax is just ^

(defn filenames-in-jar [^JarFile jar-file] ...)

On Thu, Oct 20, 2011 at 07:03, mmwaikar <mmwai...@gmail.com> wrote:
> Hi,
>
> I read in "Clojure in Action" book by Amit Rathore, that #^ associates
> metadata for the next form. He also mentions that it is deprecated. So what
> is the current way of doing it?
>
> Also, in code like this -
>
> (defn filenames-in-jar
> "Returns a sequence of Strings naming the non-directory entries in the JAR
> file."
> [#^JarFile jar-file]
>
> is it specifying that the type of the jar-file argument should be JarFile?
>
> Where can I find some more documentation and or examples about it?
>
> Thanks,
> Manoj.
>
> --
> 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 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

Reply via email to