Moduleghc-boot-th-9.14.1Haskell2010
GHC.Boot.TH.Lib
- 41 types
- 250 values
- Packageghc-boot-th-9.14.1
- Exports291
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceLib.hs
Use with funD
dataD_doc Variant of dataD that attaches Haddock documentation.
dataInstD_doc Variant of dataInstD that attaches Haddock documentation.
Document a data/newtype constructor with its arguments.
Dynamically binding a variable (unhygienic)
funD_doc Variant of funD that attaches Haddock documentation.
Implicit parameter binding declaration. Can only be used in let and where clauses which consist entirely of implicit bindings.
Single-arg lambda
Lambda-case (case)
Lambda-cases (cases)
Use with caseE
newtypeD_doc Variant of newtypeD that attaches Haddock documentation.
newtypeInstD_doc Variant of newtypeInstD that attaches Haddock documentation.
Pattern synonym declaration
patSynD_doc Variant of patSynD that attaches Haddock documentation.
Pattern synonym type signature
staticE x = [| static x |]pure the Module at the place of splicing. Can be used as an input for reifyModule.
typeDataD_doc Variant of typeDataD that attaches Haddock documentation.
Attaches Haddock documentation to the declaration provided. Unlike putDoc, the names do not need to be in scope when calling this function so it can be used for quoted declarations and anything else currently being spliced. Not all declarations can have documentation attached to them. For those that can't, withDecDoc will return it unchanged without any side effects.
Variant of withDecDoc that applies the same documentation to multiple declarations. Useful for documenting quoted declarations.
Representation-polymorphic since template-haskell-2.17.0.0.