Re: [ANN] clojure.test.check 0.5.8

2014-05-17 Thread Reid Draper
On May 15, 2014, at 2:08 PM, Steve Miner wrote: > I'm generating generators from schemas [1]. I have generators for all my > simple schemas -- "int" corresponds to gen/int, etc. The tougher case is > when I have to convert a conjunction of schema expressions into a generator. > For example,

Re: [ANN] clojure.test.check 0.5.8

2014-05-15 Thread Steve Miner
On May 15, 2014, at 1:03 PM, Reid Draper wrote: > Sorry you ran into an issue, Steve. I like your idea of including more > information in the ex-info data. Is there a specific generator you're having > trouble writing without such-that? In general, I've found that it's a > code-smell if you n

Re: [ANN] clojure.test.check 0.5.8

2014-05-15 Thread Reid Draper
Sorry you ran into an issue, Steve. I like your idea of including more information in the ex-info data. Is there a specific generator you're having trouble writing without such-that? In general, I've found that it's a code-smell if you need such-that to retry that many times. Happy to help expl

Re: [ANN] clojure.test.check 0.5.8

2014-05-14 Thread Steve Miner
On May 14, 2014, at 10:44 AM, Reid Draper wrote: > * Limit the number of retries for gen/such-that. A two-arity version is > provided if you need to retry more than 10 times. This should be a > code-smell, though. I think the limit is a good idea, but it's an extra wrinkle and ma

[ANN] clojure.test.check 0.5.8

2014-05-14 Thread Reid Draper
I'm please to announce clojure.test.check 0.5.8 [1], which is primarily a bugfix release. As usual, the release notes are available in the repository [2]. I've duplicated them here for convenience: * 0.5.8 * Limit the number of retries for gen/such-that. A two-arity version is provided