genvalidity-containers-1.0.0.2: GenValidity support for containers

Safe Haskell | None
Language | Haskell2010

Data.GenValidity.Set

Contents

- Orphan instances

# Documentation

genSetOf :: Ord v => Gen v -> Gen (Set v) Source #

shrinkSetOf :: Ord v => (v -> [v]) -> Set v -> [Set v] Source #

genSeperate :: Ord a => Gen a -> Gen [a] Source #

genSeperateFor :: Eq b => Gen b -> [a] -> Gen [(b, a)] Source #

genSeperateForNE :: Eq b => Gen b -> NonEmpty a -> Gen (NonEmpty (b, a)) Source #

genValidSeperateFor :: (GenValid b, Eq b) => [a] -> Gen [(b, a)] Source #

genValidSeperateForNE :: (GenValid b, Eq b) => NonEmpty a -> Gen (NonEmpty (b, a)) Source #

# Orphan instances

(Ord v, GenValid v) => GenValid (Set v) Source # |
Instance details Methods genValid :: Gen (Set v) Source # shrinkValid :: Set v -> [Set v] Source #