Hoogle Search
Within LTS Haskell 24.41 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
foldMapWithIndex :: Monoid m => (Int -> a -> m) -> Seq a -> mcontainers Data.Sequence.Internal No documentation available.
functionMap :: Function b => (a -> b) -> (b -> a) -> (a -> c) -> a :-> cQuickCheck Test.QuickCheck The basic building block for Function instances. Provides a Function instance by mapping to and from a type that already has a Function instance.
shrinkMap :: Arbitrary a => (a -> b) -> (b -> a) -> b -> [b]QuickCheck Test.QuickCheck Map a shrink function to another domain. This is handy if your data type has special invariants, but is almost isomorphic to some other type.
shrinkOrderedList :: (Ord a, Arbitrary a) => [a] -> [[a]] shrinkOrderedList = shrinkMap sort id shrinkSet :: (Ord a, Arbitrary a) => Set a -> [Set a] shrinkSet = shrinkMap fromList toList
shrinkMapBy :: (a -> b) -> (b -> a) -> (a -> [a]) -> b -> [b]QuickCheck Test.QuickCheck Non-overloaded version of shrinkMap.
suchThatMap :: Gen a -> (a -> Maybe b) -> Gen bQuickCheck Test.QuickCheck Generates a value for which the given function returns a Just, and then applies the function.
shrinkMap :: Arbitrary a => (a -> b) -> (b -> a) -> b -> [b]QuickCheck Test.QuickCheck.Arbitrary Map a shrink function to another domain. This is handy if your data type has special invariants, but is almost isomorphic to some other type.
shrinkOrderedList :: (Ord a, Arbitrary a) => [a] -> [[a]] shrinkOrderedList = shrinkMap sort id shrinkSet :: (Ord a, Arbitrary a) => Set a -> [Set a] shrinkSet = shrinkMap fromList toList
shrinkMapBy :: (a -> b) -> (b -> a) -> (a -> [a]) -> b -> [b]QuickCheck Test.QuickCheck.Arbitrary Non-overloaded version of shrinkMap.
functionMap :: Function b => (a -> b) -> (b -> a) -> (a -> c) -> a :-> cQuickCheck Test.QuickCheck.Function The basic building block for Function instances. Provides a Function instance by mapping to and from a type that already has a Function instance.
functionMapWith :: ((b -> c) -> b :-> c) -> (a -> b) -> (b -> a) -> (a -> c) -> a :-> cQuickCheck Test.QuickCheck.Function No documentation available.
suchThatMap :: Gen a -> (a -> Maybe b) -> Gen bQuickCheck Test.QuickCheck.Gen Generates a value for which the given function returns a Just, and then applies the function.