DEBSOURCES
Skip Quicknav
sources / data-generators-clojure / 1.0.0-3 / siderail / reservoir_sample.repl
1234
(require '[clojure.data.generators :as gen]) ;; should have all 6 (frequencies (repeatedly 1000 #(gen/reservoir-sample 1 (range 6))))