On Monday, March 23, 2015 at 7:33:33 PM UTC+11, Mike Thompson wrote:
> On Monday, March 23, 2015 at 7:00:58 PM UTC+11, Colin Yates wrote:
> > `(do
> > (schema.core/defn
> > ~(with-meta 'create {:always-validate true})
> > ...
> >
> > worked for me.
>
>
> Thanks, Colin. So the version I need would look like this?
>
> (defmacro m
> [x]
> `(if-not ~(with-meta 'js/goog.DEBUG {:tag boolean}) ~x))
Sigh. Or maybe this:
(defmacro m
[x]
`(if-not (with-meta js/goog.DEBUG {:tag boolean}) ~x))
I'll rig up a test tomorrow. Thanks.
--
Mike
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.