Modules 18
Test.QuickCheck.Poly
Types to help with testing polymorphic properties.
Types A, B and C are newtype wrappers around Integer that
implement Eq, Show, Arbitrary and CoArbitrary. Types
OrdA, OrdB and OrdC also implement Ord and Num.
See also Test.QuickCheck.All for an automatic way of testing
polymorphic properties.
newtype B
B :: Integer -> B
unB :: B -> Integer
newtype C
C :: Integer -> C
unC :: C -> Integer
newtype OrdA
OrdA :: Integer -> OrdA
unOrdA :: OrdA -> Integer
newtype OrdB
OrdB :: Integer -> OrdB
unOrdB :: OrdB -> Integer
newtype OrdC
OrdC :: Integer -> OrdC
unOrdC :: OrdC -> Integer
Instances
30
instance Eq Ainstance Show Ainstance Arbitrary Ainstance CoArbitrary Ainstance Eq Binstance Show Binstance Arbitrary Binstance CoArbitrary Binstance Eq Cinstance Show Cinstance Arbitrary Cinstance CoArbitrary Cinstance Eq OrdAinstance Ord OrdAinstance Num OrdAinstance Show OrdAinstance Arbitrary OrdAinstance CoArbitrary OrdAinstance Eq OrdBinstance Ord OrdBinstance Num OrdBinstance Show OrdBinstance Arbitrary OrdBinstance CoArbitrary OrdBinstance Eq OrdCinstance Ord OrdCinstance Num OrdCinstance Show OrdCinstance Arbitrary OrdCinstance CoArbitrary OrdC
Build record and source files
Community contribution. The service has not verified this documentation. The generator reported 30 diagnostics.
Target: Linux on x86-64. Some inferred types and resolved links are not available.
Generator: aihc-haddock-aa6debbd-web-3
Metadata snapshot: f17ab6aeb2a7b6daf9fba7614097e138beeef85fa92c3fb7fdfed9ed0e49728c
Open the dependency plan · Download the documentation model
- QuickCheck-2.18.0.0 · Cabal revision 0 · Cabal file · Source archive
- aihc-base-4.21.2.0 · Core library · Cabal file
- aihc-internal-9.1204.0 · Core library · Cabal file
- aihc-prim-0.13.0 · Core library · Cabal file
- aihc-rts-1.0.2 · Core library · Cabal file
- aihc-template-haskell-2.23.0.0 · Core library · Cabal file
- array-0.5.8.0 · Cabal revision 2 · Cabal file · Source archive
- bytestring-0.12.2.0 · Cabal revision 1 · Cabal file · Source archive
- containers-0.8.1 · Cabal revision 0 · Cabal file · Source archive
- deepseq-1.5.2.0 · Cabal revision 0 · Cabal file · Source archive
- mtl-2.3.2 · Cabal revision 1 · Cabal file · Source archive
- random-1.3.1 · Cabal revision 0 · Cabal file · Source archive
- splitmix-0.1.3.2 · Cabal revision 0 · Cabal file · Source archive
- transformers-0.6.3.0 · Cabal revision 2 · Cabal file · Source archive