RandomSamples, using a seed allows you to replicate an arbitrary. By storing the seed and the samples (previously produced arbitraries), we can try to reproduce the same samples by generating the arbitraries with a seed.
Constructors
Instances7Eq, Ord, Show, Generic, FromJSON, ToJSON, …
Eq a => Eq (RandomSamples a)Defined in hspec-golden-aeson-0.9.0.0 · Test.Aeson.Internal.RandomSamplesOrd a => Ord (RandomSamples a)Defined in hspec-golden-aeson-0.9.0.0 · Test.Aeson.Internal.RandomSamplesShow a => Show (RandomSamples a)Defined in hspec-golden-aeson-0.9.0.0 · Test.Aeson.Internal.RandomSamplesGeneric (RandomSamples a)Defined in hspec-golden-aeson-0.9.0.0 · Test.Aeson.Internal.RandomSamplesFromJSON a => FromJSON (RandomSamples a)Defined in hspec-golden-aeson-0.9.0.0 · Test.Aeson.Internal.RandomSamplesToJSON a => ToJSON (RandomSamples a)Defined in hspec-golden-aeson-0.9.0.0 · Test.Aeson.Internal.RandomSamplestype Rep (RandomSamples a) = D1 ('MetaDataDefined in hspec-golden-aeson-0.9.0.0 · Test.Aeson.Internal.RandomSamples"RandomSamples"
"Test.Aeson.Internal.RandomSamples"
"hspec-golden-aeson-0.9.0.0-8B2ML33q6ueKav0zGHpvN2"
'False) (C1 ('MetaCons"RandomSamples"
'PrefixI 'True) (S1 ('MetaSel ('Just"seed"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int32) :*: S1 ('MetaSel ('Just"samples"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [a])))