HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

Moduleth-lift-0.8.7Haskell2010

Language.Haskell.TH.Lift.Internal

Helper functions used in code that Language.Haskell.TH.Lift generates.

Note: this is an internal module, and as such, the API presented here is not guaranteed to be stable, even between minor releases of this library.

  • 2 values
  • Packageth-lift-0.8.7
  • Exports2
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceInternal.hs
valueerrorQuoteExp :: Quote q => String -> q Exp
#

A type-restricted version of error that ensures makeLift always returns a value of type q Exp (where q is an instance of Quote), even when used on an empty datatype.

valueunsafeSpliceCoerce :: Quote m => m Exp -> Code m a
#

This is a cargo-culted version of unsafeSpliceCoerce from the th-compat library, which has been copied here to avoid incurring a library dependency.