Hoogle Search
Within LTS Haskell 24.10 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
genericArbitraryRec :: GArbitrary SizedOptsDef a => Weights a -> Gen ageneric-random Generic.Random Decrease size at every recursive call, but don't do anything different at size 0.
genericArbitraryRec (7 % 11 % 13 % ()) :: Gen a
N.B.: This replaces the generator for fields of type [t] with listOf' arbitrary instead of listOf arbitrary (i.e., arbitrary for lists).genericArbitraryRecG :: GArbitrary (SetGens genList SizedOpts) a => genList -> Weights a -> Gen ageneric-random Generic.Random genericArbitraryRec with explicit generators. See also genericArbitraryG.
-
generic-random Generic.Random arbitrary for types with one constructor. Equivalent to genericArbitraryU, with a stricter type.
genericArbitrarySingle :: Gen a
-
generic-random Generic.Random genericArbitrarySingle with explicit generators. See also genericArbitraryG.
genericArbitraryU :: (GArbitrary UnsizedOpts a, GUniformWeight a) => Gen ageneric-random Generic.Random Pick every constructor with equal probability. Equivalent to genericArbitrary uniform.
genericArbitraryU :: Gen a
genericArbitraryU' :: (GArbitrary SizedOptsDef a, BaseCase a, GUniformWeight a) => Gen ageneric-random Generic.Random Equivalent to genericArbitrary' uniform.
genericArbitraryU' :: Gen a
N.B.: This replaces the generator for fields of type [t] with listOf' arbitrary instead of listOf arbitrary (i.e., arbitrary for lists).-
generic-random Generic.Random genericArbitraryU with explicit generators. See also genericArbitraryG.
genericArbitraryWith :: GArbitrary opts a => opts -> Weights a -> Gen ageneric-random Generic.Random General generic generator with custom options.
unGenericArbitrary :: GenericArbitrary (weights :: k) a -> ageneric-random Generic.Random No documentation available.
unGenericArbitraryG :: GenericArbitraryG (genList :: k) (weights :: k1) a -> ageneric-random Generic.Random No documentation available.