Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

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

  1. 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!

  2. 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.

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

    one-liner-instances System.Random.OneLiner

    randoms implemented by repeatedly calling gRandomSum.

  4. getGRandomSum :: GRandomSum a -> a

    one-liner-instances System.Random.OneLiner

    No documentation available.

  5. newtype GUniformSum a

    one-liner-instances System.Random.Stateful.OneLiner

    If a is a data type whose fields are all instances of Uniform, then GUniform a has a Uniform instance. Will one day be able to be used with DerivingVia syntax, to derive instances automatically. A version of GUniform that works for data types with multiple constructors. If your type has only one constructor, it might be more performant to use GUniform. Note that the "ranged" variants are partial: if given a range of items made with different constructors, will be error!

  6. GUniformSum :: a -> GUniformSum a

    one-liner-instances System.Random.Stateful.OneLiner

    No documentation available.

  7. gRandomRSumM :: forall a g m r . (ADT a, Constraints a Random, RandomGenM g r m) => (a, a) -> g -> m a

    one-liner-instances System.Random.Stateful.OneLiner

    Uses the Random instance instead of the Uniform instance.

  8. gRandomSumM :: forall a g m r . (ADT a, Constraints a Random, RandomGenM g r m) => g -> m a

    one-liner-instances System.Random.Stateful.OneLiner

    Uses the Random instance instead of the Uniform instance.

  9. gUniformRSumM :: (ADT a, Constraints a UniformRange, StatefulGen g m) => (a, a) -> g -> m a

    one-liner-instances System.Random.Stateful.OneLiner

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

  10. gUniformSumListM :: (ADT a, Constraints a Uniform, StatefulGen g m) => Int -> g -> m [a]

    one-liner-instances System.Random.Stateful.OneLiner

    No documentation available.

Page 355 of many | Previous | Next