ghc-boot-th-10.0.0.20260917: Shared functionality between GHC and the template-haskell library
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Boot.TH.Quote

Synopsis

Documentation

data QuasiQuoter Source #

The QuasiQuoter type, a value q of this type can be used in the syntax [q| ... string to parse ...|]. In fact, for convenience, a QuasiQuoter actually defines multiple quasiquoters to be used in different splice contexts. In the usual case of a QuasiQuoter that is only intended to be used in certain splice contexts, the unused fields should just fail. This is most easily accomplished using namedefaultQuasiQuoter or defaultQuasiQuoter.

This is exposed both from the template-haskell-quasiquoter and template-haskell packages. Consider importing it from the more stable template-haskell-quasiquoter if you don't need the full breadth of the template-haskell interface.

Constructors

QuasiQuoter 

Fields