It is. By using s/alt, you are inherently matching a sequential collection. You probably want s/or in this case instead.
On Tuesday, June 14, 2016 at 11:15:40 PM UTC-5, Joseph Wayne Norton wrote: > > Is this the expected return value? > > => (gen/sample (s/gen (s/alt :s string? :b boolean?))) >> ([""] [true] [""] ["v6n"] [true] ["q7p7"] ["310"] [true] ["FSmdw"] >> ["809Gvz5"]) > > > I am not expecting a vector to wrap each of the sample return values. > > Best regards, > > Joe N. > -- 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.