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
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