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.
gRandomIOSum :: (ADT a, Constraints a Random) => IO aone-liner-instances System.Random.OneLiner 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.
gRandomRIO :: (ADTRecord a, Constraints a Random) => (a, a) -> IO aone-liner-instances System.Random.OneLiner randomRIO implemented by calling gRandomR on the global seed.
gRandomRIOSum :: (ADT a, Constraints a Random) => (a, a) -> IO aone-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!
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!
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!
gRandomRs :: (ADTRecord a, Constraints a Random, RandomGen g) => (a, a) -> g -> [a]one-liner-instances System.Random.OneLiner 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.
gRandomSums :: (ADT a, Constraints a Random, RandomGen g) => g -> [a]one-liner-instances System.Random.OneLiner randoms implemented by repeatedly calling gRandomSum.
gRandoms :: (ADTRecord a, Constraints a Random, RandomGen g) => g -> [a]one-liner-instances System.Random.OneLiner