Re: clojure.spec: hard to generate sequential things

2016-06-10 Thread Frank Versnel
::nums #(some #{42} %)) > (fn [] (gen/fmap #(conj % 42) (s/gen ::nums) > > > > > On Friday, June 10, 2016 at 10:01:48 AM UTC-5, Frank Versnel wrote: >> >> Hi, >> >> I'm currently playing around with clojure spec trying to write a spec

clojure.spec: hard to generate sequential things

2016-06-10 Thread Frank Versnel
Hi, I'm currently playing around with clojure spec trying to write a spec for an old program I wrote and stumbled upon the following: Whenever I try to generate something that is both sequential and something else it doesn't really work most of the time. For example when I try to create a seque