I have seen type hints in both styles, for example, clojure-contrib.server-socket writes:
(.close #^ServerSocket (:server-socket server))
And Clojure’s java-interop document uses only ^ to do type hinting.
Is there any difference between the two?
The
#^syntax is deprecated in favor of the^syntax. See previous question.