Hoogle Search
Within LTS Haskell 22.26 (ghc-9.6.5)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
module Data.BCP47.Internal.
Arbitrary No documentation available.
-
bcp47 Data.BCP47.Internal.Arbitrary Random generation and shrinking of values. QuickCheck provides Arbitrary instances for most types in base, except those which incur extra dependencies. For a wider range of Arbitrary instances see the quickcheck-instances package.
module Data.Graph.Inductive.
Arbitrary This module provides default definitions for use with QuickCheck's Arbitrary class. Both Data.Graph.Inductive.Tree- and Data.Graph.Inductive.PatriciaTree-based graph implementations have Arbitrary instances. In most cases, this is all you will need. If, however, you want to create arbitrary custom graph-like data structures, then you will probably want to do some custom processing from an arbitrary GraphNodesEdges value, either directly or with a custom ArbGraph instance.
-
Arbitrary instances for QuickCheck.
-
Arbitrary operations that respect Graphula's seed
-
This module defines generation of arbitrary values for signatures, which lifts to generating arbitrary terms.
-
compdata Data.Comp.Derive Random generation and shrinking of values. QuickCheck provides Arbitrary instances for most types in base, except those which incur extra dependencies. For a wider range of Arbitrary instances see the quickcheck-instances package.
module Data.ProtoLens.
Arbitrary An Arbitrary instance for protocol buffer Messages to use with QuickCheck.
arbitrary :: Arbitrary a => Gen aQuickCheck Test.QuickCheck A generator for values of the given type. It is worth spending time thinking about what sort of test data you want - good generators are often the difference between finding bugs and not finding them. You can use sample, label and classify to check the quality of your test data. There is no generic arbitrary implementation included because we don't know how to make a high-quality one. If you want one, consider using the testing-feat or generic-random packages. The QuickCheck manual goes into detail on how to write good generators. Make sure to look at it, especially if your type is recursive!
arbitrary :: Arbitrary a => Gen aQuickCheck Test.QuickCheck.Arbitrary A generator for values of the given type. It is worth spending time thinking about what sort of test data you want - good generators are often the difference between finding bugs and not finding them. You can use sample, label and classify to check the quality of your test data. There is no generic arbitrary implementation included because we don't know how to make a high-quality one. If you want one, consider using the testing-feat or generic-random packages. The QuickCheck manual goes into detail on how to write good generators. Make sure to look at it, especially if your type is recursive!