Hoogle Search

Within LTS Haskell 24.1 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. gRandomIOSum :: (ADT a, Constraints a Random) => IO a

    one-liner-instances System.Random.OneLiner

    randomIO implemented by calling gRandom on the global seed.

  2. gRandomR :: (ADTRecord a, Constraints a Random, RandomGen g) => (a, a) -> g -> (a, g)

    one-liner-instances System.Random.OneLiner

    randomR implemented by sequencing randomR between all components Requires the type to have only a single constructor.

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

    one-liner-instances System.Random.OneLiner

    randomRIO implemented by calling gRandomR on the global seed.

  4. gRandomRIOSum :: (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!

  5. gRandomRSum :: (ADT a, Constraints a Random, RandomGen g) => (a, a) -> g -> (a, g)

    one-liner-instances System.Random.OneLiner

    randomR implemented by sequencing randomR between all components. If given a range of items made with different constructors, will be error!

  6. gRandomRSums :: (ADT a, Constraints a Random, RandomGen g) => (a, a) -> g -> [a]

    one-liner-instances System.Random.OneLiner

    randomRs implemented by repeatedly calling gRandomRSum. If given a range of items made with different constructors, will be error!

  7. gRandomRs :: (ADTRecord a, Constraints a Random, RandomGen g) => (a, a) -> g -> [a]

    one-liner-instances System.Random.OneLiner

    randomRs implemented by repeatedly calling gRandomR.

  8. gRandomSum :: (ADT a, Constraints a Random, RandomGen g) => g -> (a, g)

    one-liner-instances System.Random.OneLiner

    random implemented by selecting a random constructor and sequencing random for all components.

  9. gRandomSums :: (ADT a, Constraints a Random, RandomGen g) => g -> [a]

    one-liner-instances System.Random.OneLiner

    randoms implemented by repeatedly calling gRandomSum.

  10. gRandoms :: (ADTRecord a, Constraints a Random, RandomGen g) => g -> [a]

    one-liner-instances System.Random.OneLiner

    randoms implemented by repeatedly calling gRandom.

Page 7 of many | Previous | Next