Liking cljdoc? Tell your friends :D

ysera.random


get-random-intclj/s

(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.
sourceraw docstring

get-random-uuidclj/s

(get-random-uuid)

Creates a random uuid-string.

Creates a random uuid-string.
sourceraw docstring

random-nthclj/s

(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.
sourceraw docstring

shuffle-with-seedclj/s

(shuffle-with-seed seed coll)

Returns a new seed and the collection shuffled.

Returns a new seed and the collection shuffled.
sourceraw docstring

take-n-randomclj/s

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close