On Saturday, January 25, 2014 10:03:13 PM UTC+1, Michael Daines wrote:
>
> I decided to play with simple-check for the first time and was working 
> through the examples on github. I noticed that all the values that use 
> gen/boolean are returning false. I never get a true.
>
> At the extreme end, the following never returns when run in the repl:
>
> (gen/sample (gen/such-that true? (gen/list gen/boolean)))
>
>
> I'm using Clojure 1.5.1, simple-check 0.5.5, JVM 1.7.0_51, Ubuntu 13.04.
>

Yeah, you're correct that this is an error in 0.5.5; I traced down the 
cause and sent in an issue which can be found here: 
https://github.com/reiddraper/simple-check/issues/54.

You can downgrade to simple-check 0.5.3 in the meantime – that version has 
not the bug you encountered.

-- JN

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

Reply via email to