Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. getNumCapabilities :: IO Int

    context Context.Concurrent

    Returns the number of Haskell threads that can run truly simultaneously (on separate physical processors) at any given time. To change this value, use setNumCapabilities.

  2. setNumCapabilities :: Int -> IO ()

    context Context.Concurrent

    Set the number of Haskell threads that can run truly simultaneously (on separate physical processors) at any given time. The number passed to forkOn is interpreted modulo this value. The initial value is given by the +RTS -N runtime flag. This is also the number of threads that will participate in parallel garbage collection. It is strongly recommended that the number of capabilities is not set larger than the number of physical processor cores, and it may often be beneficial to leave one or more cores free to avoid contention with other processes in the machine.

  3. KeySizeEnum :: [Int] -> KeySizeSpecifier

    crypto-cipher-types Crypto.Cipher.Types

    one of the specified values

  4. enumsFrom :: Enum a => a -> Unfoldr a

    deferred-folds DeferredFolds.Unfoldr

    Ascending infinite stream of enums starting from the one specified

  5. enumsInRange :: (Enum a, Ord a) => a -> a -> Unfoldr a

    deferred-folds DeferredFolds.Unfoldr

    Enums in the specified inclusive range

  6. package enumset

    Sets of enumeration values represented by machine words With this package you can create a type safe interface to flag sets. It is intended for interfacing to C libraries via FFI, where Word8, Word16, or Word32 types are commonly used to store bit vectors. E.g. the type EnumSet Word16 Ordering represents a flag set stored in a Word16 that supports the flags LT, EQ, GT. This package is similar to the bitset package and the Data.Edison.Coll.EnumSet module in the edison package, however our implementation allows you to choose the embedding type and thus the maximum size of the set. See also data-flags and Data.EnumSet in enummapset.

  7. module Data.EnumBitSet

    Similar to Data.Edison.Coll.EnumSet but it allows to choose the underlying type for bit storage. This is really a low-level module for type-safe foreign function interfaces. The integer representation of the enumeration type is the bit position of the flag within the bitvector.

  8. fromEnum :: (Enum a, Bits w) => a -> T w a

    enumset Data.EnumBitSet

    No documentation available.

  9. fromEnums :: (Enum a, Bits w) => [a] -> T w a

    enumset Data.EnumBitSet

    No documentation available.

  10. intToEnums :: (Enum a, Integral w) => T w a -> [a]

    enumset Data.EnumBitSet

    No documentation available.

Page 277 of many | Previous | Next