I write one function,example:

 (defn #^{:return String} shout [#^{:tag String} s #^{:tag String} s1]
(.toUpperCase s))

The function has two parameters: s and s1, I hope the two parameters
are both String type.
But I run the  command: (shout "1" 2),   the command print "1", why
the command don't throw ClassCastException?

Thanks,

LiuLei

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