Hoogle Search
Within LTS Haskell 24.60 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
To make a type corresponding to an enum of C language Please see the README on GitHub at https://github.com/YoshikuniJujo/c-enum#readme
fromEnum :: Enum a => a -> Intclassy-prelude ClassyPrelude 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.
-
classy-prelude ClassyPrelude Convert from an Int.
KeySizeEnum :: [Int] -> KeySizeSpecifiercrypto-cipher-types Crypto.Cipher.Types one of the specified values
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.
fromEnum :: (Enum a, Bits w) => a -> MaskedValue w aenumset Data.FlagSet fromEnum should return an integer that represents the position of the a value in the list of all enumeration items. In contrast to that, fromEnum must return the according bit pattern.
-
ghc-lib-parser GHC.Builtin.Names No documentation available.