random-variates-0.1.5.1: "Uniform RNG => Non-Uniform RNGs"
Stochastic.Generators.Discrete
class DiscreteSample g where Source
Minimal complete definition
rand, entropy
Methods
rand :: g -> (Int, g) Source
entropy :: g -> Int Source
rands :: Int -> g -> ([Int], g) Source
toList :: g -> [Int] Source
Instances