Class for datatypes that represent datatypes
Methods
datatypeName :: t d f a -> [Char]The name of the datatype (unqualified)
moduleName :: t d f a -> [Char]The fully-qualified name of the module where the type is declared
packageName :: t d f a -> [Char]The package name of the module where the type is declared
isNewtype :: t d f a -> BoolMarks if the datatype is actually a newtype
Instances1Datatype
(KnownSymbol n, KnownSymbol m, KnownSymbol p, SingI nt) => Datatype ('MetaData n m p nt)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics