     :max-tries     the number of times the generator will be tried before
                    failing when it does not produce distinct elements
                    (default 10)"
+  {:added "0.9.0"}
   ([key-fn gen] (vector-distinct-by key-fn gen {}))
   ([key-fn gen opts]
    (assert (generator? gen) "First arg to vector-distinct-by must be a generator!")

  "Create a new generator that modifies the size parameter by the given function. Intended to
   support generators with sizes that need to grow at different rates compared to the normal
   linear scaling."
  ([f generator]
    (sized (fn [n] (resize (f n) generator)))))


(defn generate
  "Returns a single sample value from the generator, using a default
  size of 30."
  {:added "0.8.0"}
  ([generator]
     (generate generator 30))
  ([generator size]
