hm
I have a seq of generators; I’d like a generator that concats the seqs; how do I do that while keeping shrinking?
(IIUC sample would work, but would break shrinking.)
Can you just do (gen/fmap #(reduce into [] %) (apply gen/tuple seq-of-generators)
(I also just realized that I can just make the generator later; i.e. first compute the concat’d thing, then chuck.gen/subsequence from that)
Yeah, that would also work
thanks 🙂 that was stumping me until I wrote it out 🙂
🦆
exactly