Module
Test.QuickCheck.Gen
- Package
- purescript-quickcheck
- Repository
- purescript/purescript-quickcheck
This module defines the random generator monad used by the Test.QuickCheck
module, as well as helper functions for constructing random generators.
#repeatable Source
repeatable :: forall b a. (a -> Gen b) -> Gen (a -> b)
Create a random generator for a function type.
#randomSample Source
randomSample :: forall a r. Gen a -> Eff (random :: RANDOM | r) (Array a)
Get a random sample of 10 values