Closed mfikes closed 9 years ago
See :read-cond
and how it is used in Himera https://github.com/fogus/himera/blob/master/src/clj/himera/server/service.clj
(Similar thing is done in Cljs REPL.)
Also see https://github.com/fogus/himera/pull/33 regarding properly disabling read-eval (I can't recall if this is disabled in regular Cljs repls)
#?(:cljs 1 :clj 2)