Reputation:
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?
Upvotes: 5
Views: 158
Reputation: 17928
The #^
syntax is deprecated in favor of the ^
syntax. See previous question.
Upvotes: 6