-
-
Save mmower/43a7497569f9e9129789 to your computer and use it in GitHub Desktop.
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
(defmacro randomly-2 [& exprs] (nth exprs (rand-int (count exprs)))) | |
(defn do-randomly | |
[] | |
(randomly-2 (println "one") (println "two") (println "three"))) | |
(do-randomly) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment