Skip to content

Instantly share code, notes, and snippets.

@swannodette
Created May 11, 2011 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save swannodette/966873 to your computer and use it in GitHub Desktop.
Save swannodette/966873 to your computer and use it in GitHub Desktop.
typehint.clj
user=> (defn ^String foo [])
#'user/foo
user=> (meta #'foo)
{:ns #<Namespace user>, :name foo, :file "NO_SOURCE_PATH", :line 1, :arglists ([]), :tag java.lang.String}
user=> (meta (var-get #'foo))
{:ns #<Namespace user>, :name foo}
user=>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment