(get-random-int seed max)
Returns a new seed and a random integer x such that 0 <= x < max.
Returns a new seed and a random integer x such that 0 <= x < max.
(get-random-uuid)
Creates a random uuid-string.
Creates a random uuid-string.
(random-nth seed coll)
Returns a new seed and a random element of the collection.
Returns a new seed and a random element of the collection.
(shuffle-with-seed seed coll)
Returns a new seed and the collection shuffled.
Returns a new seed and the collection shuffled.
(take-n-random seed n coll)
Returns a new seed and (at most) n different random elements from the collection. If the collection contains less elements than n, all elements will be returned in a random order.
Returns a new seed and (at most) n different random elements from the collection. If the collection contains less elements than n, all elements will be returned in a random order.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close