Skip to content

Instantly share code, notes, and snippets.

@frenchy64
Created November 20, 2020 00:42
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 frenchy64/c894247516ce26bf21c49eace86a46e3 to your computer and use it in GitHub Desktop.
Save frenchy64/c894247516ce26bf21c49eace86a46e3 to your computer and use it in GitHub Desktop.
typed.clj.refactor=> (refactor-form-string "+" {})
"clojure.core/+"
typed.clj.refactor=> (refactor-form-string "(defn foo [a] (+ a 3))" {})
"(clojure.core/defn foo [a__#0] (clojure.core/+ a__#0 3))"
typed.clj.refactor=> (refactor-form-string "(defmacro foo [a] `(+ ~a 3))" {})
"(clojure.core/defmacro foo [a__#0] `(+ ~a__#0 3))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment