Clojure does allow type annotations that are used to avoid reflection. https://clojure.org/reference/java_interop#Java%20Interop-Ty...
(defn len2 [^String x]
(.length x)) (defn len2 [^String x]
(.length x))No comments yet.