Hi Guys, Here is what I did:
user=> (set! *warn-on-reflection* true) true user=> (def mystr "hello") #'user/mystr user=> (.substring mystr 1 2) Reflection warning, NO_SOURCE_PATH:23 - call to substring can't be resolved. "e" user=> (.substring #^String mystr 1 2) "e" user=> (.substring ^String mystr 1 2) "e" I know #^String is a type hint, but why ^String works too? is ^String the same meaning as #^String? Thank you, yeejlan -- 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