tf-random-0.5: High-quality splittable pseudorandom number generator

Copyright(c) 2012-2013 Michał Pałka
LicenseBSD3
Maintainermichal.palka@chalmers.se
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

System.Random.TF.Instances

Description

This module defines alternative Random instances for common integral types, which make use of the RandomGen class from System.Random.TF.Gen.

Documentation

randomEnum :: (Enum a, RandomGen g) => (a, a) -> g -> (a, g) Source