Hoogle Search

Within LTS Haskell 24.36 (ghc-9.10.3)

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

  1. uniformEnumRM :: (Enum a, StatefulGen g m) => (a, a) -> g -> m a

    random System.Random.Stateful

    Generates uniformly distributed Enum in the given range. One can use it to define a UniformRange instance:

    data Colors = Red | Green | Blue deriving (Enum)
    instance UniformRange Colors where
    uniformRM = uniformEnumRM
    inInRange (lo, hi) x = isInRange (fromEnum lo, fromEnum hi) (fromEnum x)
    

  2. tagToEnum# :: Int# -> a

    ghc-prim GHC.Prim

    No documentation available.

  3. fromEnum :: Enum a => a -> Int

    hedgehog Hedgehog.Internal.Prelude

    Convert to an Int. It is implementation-dependent what fromEnum returns when applied to a value that is too large to fit in an Int.

  4. toEnum :: Enum a => Int -> a

    hedgehog Hedgehog.Internal.Prelude

    Convert from an Int.

  5. updateNumCapabilities :: WorkerCount -> IO ()

    hedgehog Hedgehog.Internal.Queue

    Update the number of capabilities but never set it lower than it already is.

  6. toEnumDef :: (Enum a, Bounded a) => a -> Int -> a

    safe Safe

    No documentation available.

  7. toEnumMay :: (Enum a, Bounded a) => Int -> Maybe a

    safe Safe

    No documentation available.

  8. toEnumNote :: (Partial, Enum a, Bounded a) => String -> Int -> a

    safe Safe

    No documentation available.

  9. toEnumSafe :: (Enum a, Bounded a) => Int -> a

    safe Safe

    No documentation available.

  10. KeySizeEnum :: [Int] -> KeySizeSpecifier

    crypton Crypto.Cipher.Types

    one of the specified values

Page 94 of many | Previous | Next