Hi all,
I'm attempting to provide 2 type hints here and not working...
(defn my-fn [#^String s #^Integer i] (println format("%s %d" s i)))
(my-fn "hello" (new Integer 123))
Thanks
Sun
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---