Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
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.
toEnums :: (Enum a, Bits w) => T w a -> [a]enumset Data.EnumBitSet No documentation available.
-
enumset Data.FlagSet No documentation available.