A Haskell Declaration
Constructors
TyClD (XTyClD p) (TyClDecl p)Type or Class Declaration
InstD (XInstD p) (InstDecl p)Instance declaration
DerivD (XDerivD p) (DerivDecl p)Deriving declaration
ValD (XValD p) (HsBind p)Value declaration
SigD (XSigD p) (Sig p)Signature declaration
KindSigD (XKindSigD p) (StandaloneKindSig p)Standalone kind signature
DefD (XDefD p) (DefaultDecl p)defaultdeclarationForD (XForD p) (ForeignDecl p)Foreign declaration
WarningD (XWarningD p) (WarnDecls p)Warning declaration
AnnD (XAnnD p) (AnnDecl p)Annotation declaration
RuleD (XRuleD p) (RuleDecls p)Rule declaration
SpliceD (XSpliceD p) (SpliceDecl p)Splice declaration (Includes quasi-quotes)
DocD (XDocD p) (DocDecl p)Documentation comment declaration
RoleAnnotD (XRoleAnnotD p) (RoleAnnotDecl p)Role annotation declaration
XHsDecl !(XXHsDecl p)
Instances7Data, Outputable, HasHaddock, Anno, …
Data (HsDecl GhcPs)Defined in ghc-9.10.3 · GHC.Hs.Instances · orphanData (HsDecl GhcRn)Defined in ghc-9.10.3 · GHC.Hs.Instances · orphanData (HsDecl GhcTc)Defined in ghc-9.10.3 · GHC.Hs.Instances · orphanOutputableBndrId p => Outputable (HsDecl (GhcPass p))Defined in ghc-9.10.3 · GHC.Hs.Decls · orphanHasHaddock (LocatedA (HsDecl GhcPs))Defined in ghc-9.10.3 · GHC.Parser.PostProcess.HaddockHasHaddock (HsDecl GhcPs)Defined in ghc-9.10.3 · GHC.Parser.PostProcess.Haddocktype Anno (HsDecl (GhcPass _1)) = SrcSpanAnnADefined in ghc-9.10.3 · GHC.Hs.Decls · orphan