HORIZON HASKELLDocslts/ghc-10.0.xc7d136e2026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · c7d136e · 2026-10-12

Modulerandom-1.3.1

System.Random.Stateful

  • 12 types
  • 11 classes
  • 78 values
classclass Random a where
#

Methods

Instances43Random, …
classclass Finite a where
#
Instances23Finite, …
classclass StatefulGen (MutableGen f m) m => FrozenGen f (m :: Type -> Type) where
#

Associated types

Methods

Instances5FrozenGen
classclass RandomGen g where
#

Methods

Instances8RandomGen, …
newtypenewtype Seed g
#
Instances4Eq, Ord, Show, Uniform
  • Eq (Seed g)Defined in random-1.3.1 · System.Random.Internal
  • Ord (Seed g)Defined in random-1.3.1 · System.Random.Internal
  • Show (Seed g)Defined in random-1.3.1 · System.Random.Internal
  • SeedGen g => Uniform (Seed g)Defined in random-1.3.1 · System.Random.Seed · orphan
classclass RandomGen g => SplitGen g where
#

Methods

Instances8SplitGen, …
newtypenewtype StateGen g
#

Constructors

Instances11Eq, Ord, Show, Storable, NFData, RandomGen, …
classclass Monad m => StatefulGen g (m :: Type -> Type) where
#
Instances5StatefulGen
newtypenewtype StdGen
#
Instances7Eq, Show, NFData, RandomGen, SplitGen, SeedGen, …
classclass FrozenGen f m => ThawedGen f (m :: Type -> Type) where
#

Methods

Instances4ThawedGen
classclass Uniform a where
#

Methods

Instances42Uniform, …
classclass UniformRange a where
#

Methods

Instances45UniformRange, …
classclass (KnownNat (SeedSize g), 1 <= SeedSize g, Typeable g) => SeedGen g where
#

Associated types

Methods

Instances8SeedGen, …
familytype family SeedSize g :: Nat
#
Instances8SeedSize, …
newtypenewtype AtomicGen g
#

Constructors

Instances12Eq, Ord, Show, Storable, NFData, RandomGen, …
newtypenewtype IOGen g
#

Constructors

Instances12Eq, Ord, Show, Storable, NFData, RandomGen, …
classclass (RandomGen r, StatefulGen g m) => RandomGenM g r (m :: Type -> Type) | g -> r where
#

Deprecated. In favor of FrozenGen

Methods

Instances5RandomGenM
newtypenewtype STGen g
#

Constructors

Instances12Eq, Ord, Show, Storable, NFData, RandomGen, …
newtypenewtype TGen g
#

Constructors

Instances12Eq, Ord, Show, Storable, NFData, RandomGen, …