Hoogle Search

Within LTS Haskell 12.18 (ghc-8.4.4)

  1. randomRIO :: Random a => (a, a) -> IO a

    random System.Random

    A variant of randomR that uses the global random number generator (see System.Random#globalrng).

  2. gRandomRIO :: forall a . (ADTRecord a, Constraints a Random) => (a, a) -> IO a

    one-liner-instances System.Random.OneLiner

    randomRIO implemented by calling gRandomR on the global seed.

  3. gRandomRIOSum :: forall a . (ADT a, Constraints a Random) => (a, a) -> IO a

    one-liner-instances System.Random.OneLiner

    randomRIO implemented by calling gRandomRSum on the global seed. If given a range of items made with different constructors, will be error!

Page 1 of 1