Hi,

Am Donnerstag, 6. Dezember 2012 17:41:24 UTC+1 schrieb Brian Marick:
>
>     (when (ecosystem/clojure-1-3?) 
>       (in-ns 'clojure.core) 
>       (defn ex-info ...) 
>       (in-ns 'midje.util.backwards-compatible-utils)) 
>
> Why not? What should I do instead? 
>
>
Without having looked at the issue in detail, I suspect the "toplevel form 
compile" issue. You probably need to transform this into a do with a macro.

(defmacro compile-when
  [test & body]
  (when (eval test)
    `(do ~@body)))

Kind regards
Meikel Brandmeyer

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to