Re: clojure.spec to match string

2016-09-30 Thread Serzh Nechyporchuk
Thanks for all. I will look at your suggestions. > On Sep 29, 2016, at 20:59, lvh <_...@lvh.io> wrote: > >> >> On Sep 29, 2016, at 11:42 AM, Sean Corfield > > wrote: >> >> The test.chuck library from Gary Fredericks has a generator for regex >> strings that works prett

Re: clojure.spec to match string

2016-09-29 Thread lvh
> On Sep 29, 2016, at 11:42 AM, Sean Corfield wrote: > > The test.chuck library from Gary Fredericks has a generator for regex strings > that works pretty well. Whenever I get some time (not soon, if my inbox is anything to go by), I’ll add the equivalent part to schpec. lvh > Sean Corfield

Re: clojure.spec to match string

2016-09-29 Thread Sean Corfield
The test.chuck library from Gary Fredericks has a generator for regex strings that works pretty well. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood On 9/29/16, 7:20 AM,

Re: clojure.spec to match string

2016-09-29 Thread Serzh Nechyporchuk
Thank you Alex. That’s true, I can use just predicate to validate string. But I want a little more from this. I really want to use generators and conforming. I know that strings are seqable, s/cat works with seq. So my question is: Are there any way to combine this? > On Sep 29, 2016, at 15:39