Liking cljdoc? Tell your friends :D

ysera.random


get-pseudo-random-numberclj/s

(get-pseudo-random-number seed)
source

get-random-intclj/s

(get-random-int seed max)
source

get-random-uuidclj/s

(get-random-uuid)
source

random-nthclj/s

(random-nth seed coll)

Returns a random element of the collection. Returns the tuple [state result].

Returns a random element of the collection. Returns the tuple [state result].
sourceraw docstring

shuffle-with-seedclj/s

(shuffle-with-seed seed coll)
source

take-n-randomclj/s

(take-n-random seed n coll)

Takes (at most) n different random elements from the collection. Returns the tuple [state result]. If the collection contains less elements than n, all elements will be returned in a random order.

Takes (at most) n different random elements from the collection. Returns the tuple [state result].
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