Copyright | (c) 2012-2013 Michał Pałka |
---|---|
License | BSD3 |
Maintainer | michal.palka@chalmers.se |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
This module defines alternative Random
instances for
common integral types, which make use of
the RandomGen
class from System.Random.TF.Gen.
Documentation
randomR :: RandomGen g => (a, a) -> g -> (a, g) Source #
random :: RandomGen g => g -> (a, g) Source #
randomEnum :: (Enum a, RandomGen g) => (a, a) -> g -> (a, g) Source #