On 20/09/13 08:01, Stephen Cagle wrote:
*
*
* (generative/defspec*
* check-on-quiz-view*
* b/quiz-view*
* [^{:tag `random-loc} loc*
* ^{:tag (clojure.core/constantly :ignored)} key*
* ^{:tag `view} value]))*
It seems to me the problem is the above snippet...why are you
syntax-quoting the :tag? Did you try simple-quoting? Does your code
compile without this snippet? ignore line 69 for a second - it may be
misleading.
on a different note, I couldn't help but noticing the following:
you declare this:
(:require
*
[clojure.test.generative :as generative])
but you seem to be using 'g/uniform' & *'generative/defspec'
also, you do this:
*
*(if (= 0 (g/uniform 0 100)) ...
how about *
*(if (zero? (g/uniform 0 100))
hope that helps,
Jim
*
*
--
--
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
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.