Skip to content

Instantly share code, notes, and snippets.

@ihercowitz
Created August 22, 2014 01:00
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 ihercowitz/ac5836ea36417c55ae11 to your computer and use it in GitHub Desktop.
Save ihercowitz/ac5836ea36417c55ae11 to your computer and use it in GitHub Desktop.
clojure function call function runtime
(ns test-macro.utils)
(defn test-me []
(str "Test me"))
(defn test-you []
(str "Test you"))
(defn run-me [fn]
(eval (read-string (str "(test-macro.utils/test-" fn ")"))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment