Hoogle Search
Within LTS Haskell 24.50 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
AlphaNums :: String -> AlphaNumsleancheck Test.LeanCheck.Utils.Types No documentation available.
unAlphaNum :: AlphaNum -> Charleancheck Test.LeanCheck.Utils.Types No documentation available.
unAlphaNums :: AlphaNums -> Stringleancheck Test.LeanCheck.Utils.Types No documentation available.
enumSequenceFrom :: Num a => a -> Sequence amath-functions Numeric.Series enumSequenceFrom x generate sequence: <math>
enumSequenceFromStep :: Num a => a -> a -> Sequence amath-functions Numeric.Series enumSequenceFromStep x d generate sequence: <math>
boundedEnumLaws :: (Enum a, Bounded a, Eq a, Arbitrary a, Show a) => Proxy a -> Lawsquickcheck-classes-base Test.QuickCheck.Classes.Base Tests the same properties as enumLaws except that it requires the type to have a Bounded instance. These tests avoid taking the successor of the maximum element or the predecessor of the minimal element.
enumLaws :: (Enum a, Eq a, Arbitrary a, Show a) => Proxy a -> Lawsquickcheck-classes-base Test.QuickCheck.Classes.Base Tests the following properties:
This only works for Enum types that are not bounded, meaning that succ and pred must be total. This means that these property tests work correctly for types like Integer but not for Int. Sadly, there is not a good way to test fromEnum and toEnum, since many types that have reasonable implementations for succ and pred have more inhabitants than Int does.casesEnum :: (Bounded a, Enum a) => Cases aselective Control.Selective The list of all possible values of an enumerable data type.
class
Enumerable (t :: Type -> Type)selective Control.Selective.Multi A class of tags that can be enumerated. A valid instance must list every tag in the resulting list exactly once.
enumerate :: Enumerable t => [Some t]selective Control.Selective.Multi No documentation available.