Hoogle Search
Within LTS Haskell 24.33 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromEnum :: Enum a => a -> Intcopilot-language Copilot.Language.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.
-
copilot-language Copilot.Language.Prelude Convert from an Int.
positiveNumber :: CharParser st (String, Integer)dice Data.Random.Dice No documentation available.
unEnumFuncallExit :: EnumFuncallExit -> CIntemacs-module Data.Emacs.Module.Env No documentation available.
resolveNumeric :: (Int, Symbols) -> Numeric -> Maybe Numericfuncmp FMP.Resolve No documentation available.
module Generics.Generic.
IsEnum Test if a data type is an enumeration (only zero-argument constructors) generically using GHC.Generics.
class
GIsEnum (f :: Type -> Type)generic-aeson Generics.Generic.IsEnum Class for testing if the functors from GHC.Generics are enumerations. You generally don't need to give any custom instances. Just call isEnum.
gIsEnum :: GIsEnum f => Proxy (f a) -> Boolgeneric-aeson Generics.Generic.IsEnum No documentation available.
isEnum :: (Generic a, GIsEnum (Rep a)) => Proxy a -> Boolgeneric-aeson Generics.Generic.IsEnum Generically test if a data type is an enumeration.
-
Generically derived enumerations. This package provides a way to generically obtain every possible value of a type, provided that the generic representation of the type is compatible.