test-check 2018-02-23

@pablore has joined the channel

Hi, how can I make a generator for a clojure.lang.PersistentQueue?

Already did it:

(defn gen-queue
  [some-generator]
  (gen/bind  (gen/vector some-generator))
                     #(into (clojure.lang.PersistentQueue/EMPTY) %)))))

That shouldn't work

Should have to switch bind to fmap and swap the arg order