Hoogle Search

Within LTS Haskell 24.46 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. unMaxNumberHeaders :: MaxNumberHeaders -> Int

    http-client Network.HTTP.Client.Internal

    No documentation available.

  2. getNumCapabilities :: MonadIO m => m Int

    unliftio UnliftIO.Concurrent

    Lifted version of getNumCapabilities.

  3. setNumCapabilities :: MonadIO m => Int -> m ()

    unliftio UnliftIO.Concurrent

    Lifted version of setNumCapabilities.

  4. alphaNum :: MonadGen m => m Char

    hedgehog Hedgehog.Gen

    Generates an ASCII letter or digit: 'a'..'z', 'A'..'Z', '0'..'9'

  5. enum :: (MonadGen m, Enum a) => a -> a -> m a

    hedgehog Hedgehog.Gen

    Generates an element from an enumeration. This generator shrinks towards the first argument. For example:

    enum 'a' 'z' :: Gen Char
    

  6. enumBounded :: (MonadGen m, Enum a, Bounded a) => m a

    hedgehog Hedgehog.Gen

    Generates a random value from a bounded enumeration. This generator shrinks towards minBound. For example:

    enumBounded :: Gen Bool
    
    This is implemented in terms of the Enum class, and thus may be partial for integral types larger than Int, e.g. Word64.

  7. alphaNum :: MonadGen m => m Char

    hedgehog Hedgehog.Internal.Gen

    Generates an ASCII letter or digit: 'a'..'z', 'A'..'Z', '0'..'9'

  8. enum :: (MonadGen m, Enum a) => a -> a -> m a

    hedgehog Hedgehog.Internal.Gen

    Generates an element from an enumeration. This generator shrinks towards the first argument. For example:

    enum 'a' 'z' :: Gen Char
    

  9. enumBounded :: (MonadGen m, Enum a, Bounded a) => m a

    hedgehog Hedgehog.Internal.Gen

    Generates a random value from a bounded enumeration. This generator shrinks towards minBound. For example:

    enumBounded :: Gen Bool
    
    This is implemented in terms of the Enum class, and thus may be partial for integral types larger than Int, e.g. Word64.

  10. class Enum a

    hedgehog Hedgehog.Internal.Prelude

    Class Enum defines operations on sequentially ordered types. The enumFrom... methods are used in Haskell's translation of arithmetic sequences. Instances of Enum may be derived for any enumeration type (types whose constructors have no fields). The nullary constructors are assumed to be numbered left-to-right by fromEnum from 0 through n-1. See Chapter 10 of the Haskell Report for more details. For any type that is an instance of class Bounded as well as Enum, the following should hold:

    enumFrom     x   = enumFromTo     x maxBound
    enumFromThen x y = enumFromThenTo x y bound
    where
    bound | fromEnum y >= fromEnum x = maxBound
    | otherwise                = minBound
    

Page 153 of many | Previous | Next