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.
-
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.
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.
KeySizeEnum :: [Int] -> KeySizeSpecifiercrypto-cipher-types Crypto.Cipher.Types one of the specified values
enumsFrom :: Enum a => a -> Unfoldr adeferred-folds DeferredFolds.Unfoldr Ascending infinite stream of enums starting from the one specified
enumsInRange :: (Enum a, Ord a) => a -> a -> Unfoldr adeferred-folds DeferredFolds.Unfoldr Enums in the specified inclusive range
-
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.
-
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.
fromEnum :: (Enum a, Bits w) => a -> T w aenumset Data.EnumBitSet No documentation available.
fromEnums :: (Enum a, Bits w) => [a] -> T w aenumset Data.EnumBitSet No documentation available.
intToEnums :: (Enum a, Integral w) => T w a -> [a]enumset Data.EnumBitSet No documentation available.