> On Sep 29, 2016, at 11:42 AM, Sean Corfield <[email protected]> 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" <[email protected] on behalf > of [email protected]> 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 <[email protected]> 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 [email protected] > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > [email protected] > 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 [email protected]. > 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 [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
