Will it ever be possible to use reader conditionals in clojure macros

2017-03-17 Thread Arewa Olakunle
I have been trying to define a macro for clojurescript/clojure using a cljc file (ns async (:require #?(:clj [clojure.core.async :as a :refer [go-loop]]) #?@(:cljs [[cljs.core.async :as a] [cljs.core.async.macros :refer [go-loop]]]))) (defmacro dochan "Wrap

Re: Will it ever be possible to use reader conditionals in clojure macros

2017-03-17 Thread Arewa Olakunle
atascript/blob/master/src/datascript/arrays.cljc> On Friday, March 17, 2017 at 1:37:27 PM UTC+1, Arewa Olakunle wrote: > > I have been trying to define a macro for clojurescript/clojure using a > cljc file > > (ns async > (:require #?(:clj [clojure.core.async :as a :refer