Created
August 22, 2014 01:00
-
-
Save ihercowitz/ac5836ea36417c55ae11 to your computer and use it in GitHub Desktop.
clojure function call function runtime
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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