_Comment made by: xcthulhu_
For example, if a user wanted to make a generator of vectors with length between 5 and 11 or 20 to 40 elements, consisting of keywords which were either `:a` or `:b`, they would have to write something like:
(gen/fmap (fn [[n gens]] (take n gens))
(gen/tuple (spec/gen (spec/or :short (int-in 5 11)
:long (int-in 20 40)))
(gen/vector (gen/elements #{:a :b}) 40)))
With this patch they could write this as:
(gen/let [length (spec/or :short (int-in 5 11)
:long (int-in 20 40))]
(repeat length #{:a :b}))