Skip to content

Instantly share code, notes, and snippets.

@mfikes
Last active March 30, 2019 01:06
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 mfikes/5c42494d3174988efb5776434b831a1a to your computer and use it in GitHub Desktop.
Save mfikes/5c42494d3174988efb5776434b831a1a to your computer and use it in GitHub Desktop.
(ns foo.bar
(:require foo.core)
#_(:require-macros foo.core))
(defn try-me []
(foo.core/m))
(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