Last active
March 30, 2019 01:06
-
-
Save mfikes/5c42494d3174988efb5776434b831a1a 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
(ns foo.bar | |
(:require foo.core) | |
#_(:require-macros foo.core)) | |
(defn try-me [] | |
(foo.core/m)) |
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 foo.core | |
#?(:cljs (:require-macros foo.core))) | |
(defmacro m [] | |
`(foo.core/f)) | |
(defn f [] | |
(when (< 0.5 (rand)) | |
(foo.core/m))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment