> On Sep 29, 2016, at 11:42 AM, Sean Corfield <s...@corfield.org> 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 -- (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, "Serzh Nechyporchuk" <clojure@googlegroups.com on behalf > of nechyporc...@gmail.com> wrote: > > 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, Alex Miller <a...@puredanger.com> wrote: >> >> You can make a predicate using re-matches - there is an email example in >> http://clojure.org/guides/spec > > > > > -- > 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/d/optout. -- 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/d/optout.