Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better type hint position #64

Open
vemv opened this issue Jul 5, 2020 · 0 comments
Open

Better type hint position #64

vemv opened this issue Jul 5, 2020 · 0 comments

Comments

@vemv
Copy link

vemv commented Jul 5, 2020

(defn- ^String map-str
places the type hint on the symbol, while for a number the years the recommended way is to place it on the argv.

https://clojure.org/reference/java_interop#typehints (last paragraph)

https://gist.github.com/pjstadig/6fa4ebf465f6d438b4dcc2a5bfbb3db6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant