Datatype to represent metadata associated with a datatype (MetaData),
constructor (MetaCons), or field selector (MetaSel).
In
MetaData n m p nt,nis the datatype's name,mis the module in which the datatype is defined,pis the package in which the datatype is defined, andntis'Trueif the datatype is anewtype.In
MetaCons n f s,nis the constructor's name,fis its fixity, andsis'Trueif the constructor contains record selectors.In
MetaSel mn su ss ds, if the field uses record syntax, thenmnis Just the record name. Otherwise,mnis Nothing.suandssare the field's unpackedness and strictness annotations, anddsis the strictness that GHC infers for the field.
Instances3Constructor, Datatype, Selector
(KnownSymbol n, SingI f, SingI r) => Constructor ('MetaCons n f r)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics(KnownSymbol n, KnownSymbol m, KnownSymbol p, SingI nt) => Datatype ('MetaData n m p nt)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics(SingI mn, SingI su, SingI ss, SingI ds) => Selector ('MetaSel mn su ss ds)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics