quickcheck-instances-0.3.33: Common quickcheck instances

Safe Haskell | Safe-Inferred
Language | Haskell2010

Test.QuickCheck.Instances.UnorderedContainers

Contents

- Orphan instances

# Orphan instances

(Hashable a, Eq a, Arbitrary a) => Arbitrary (HashSet a) Source # |
Instance details Methods arbitrary :: Gen (HashSet a) Source # shrink :: HashSet a -> [HashSet a] Source #
(Hashable k, Eq k, Arbitrary k) => Arbitrary1 (HashMap k) Source # |
Instance details Methods liftArbitrary :: Gen a -> Gen (HashMap k a) Source # liftShrink :: (a -> [a]) -> HashMap k a -> [HashMap k a] Source #
CoArbitrary a => CoArbitrary (HashSet a) Source # |
Instance details Methods coarbitrary :: HashSet a -> Gen b -> Gen b Source #
(Hashable a, Eq a, Function a) => Function (HashSet a) Source # |
Instance details Methods function :: (HashSet a -> b) -> HashSet a :-> b Source #
(Hashable k, Eq k, Arbitrary k, Arbitrary v) => Arbitrary (HashMap k v) Source # |
Instance details Methods arbitrary :: Gen (HashMap k v) Source # shrink :: HashMap k v -> [HashMap k v] Source #
(CoArbitrary k, CoArbitrary v) => CoArbitrary (HashMap k v) Source # |
Instance details Methods coarbitrary :: HashMap k v -> Gen b -> Gen b Source #
(Hashable k, Eq k, Function k, Function v) => Function (HashMap k v) Source # |
Instance details Methods function :: (HashMap k v -> b) -> HashMap k v :-> b Source #