const -opengl -package

const :: a -> b -> a
base Prelude, base Data.Function
Constant function.
constrFields :: Constr -> [String]
base Data.Data
Gets the field labels of a constructor. The list of labels is returned in the same order as they were given in the original constructor declaration.
constrFixity :: Constr -> Fixity
base Data.Data
Gets the fixity of a constructor
constrIndex :: Constr -> ConIndex
base Data.Data
Gets the index of a constructor (algebraic datatypes only)
constrRep :: Constr -> ConstrRep
base Data.Data
Gets the public presentation of constructors
constrType :: Constr -> DataType
base Data.Data
Gets the datatype of a constructor
constraintK :: Kind
template-haskell Language.Haskell.TH.Lib, template-haskell Language.Haskell.TH
constrs :: Data a => [a]
syb Data.Generics.Builders
Return a list of values of a datatype. Each value is one of the possible constructors of the datatype, populated with empty values.
Const :: a -> Const a b
base Control.Applicative
newtype Const a b
base Control.Applicative
data Constr
base Data.Data
Representation of constructors. Note that equality on constructors with different types may not work -- i.e. the constructors for False and Nothing may compare equal.
data ConstrRep
base Data.Data
Public representation of constructors
Constant :: a -> Constant a b
transformers Data.Functor.Constant
newtype Constant a b
transformers Data.Functor.Constant
Constant functor.
ConstraintT :: Type
template-haskell Language.Haskell.TH.Syntax, template-haskell Language.Haskell.TH
> Constraint
module Data.Functor.Constant
transformers Data.Functor.Constant
The constant functor.
module GHC.Constants
base GHC.Constants
AlgConstr :: ConIndex -> ConstrRep
base Data.Data
CharConstr :: Char -> ConstrRep
base Data.Data
dataTypeConstrs :: DataType -> [Constr]
base Data.Data
Gets the constructors of an algebraic datatype

Show more results