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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · aa25b89 · 2026-10-10

Moduletagged-0.8.11Haskell98

Data.Proxy.TH

  • 2 values
  • Packagetagged-0.8.11
  • Exports2
  • LanguageHaskell98
  • LicenceBSD-3-Clause
  • SourceTH.hs
valuepr :: QuasiQuoter
#

Deprecated. pr will be removed in the next release. Use Proxy with TypeApplications instead. Instead of using [pr|T|], use Proxy @T instead. Instead of using [pr|A,B,C|], use Proxy @[A,B,C] instead.

A proxy value quasiquoter. [pr|T|] will splice an expression Proxy::Proxy T, while [pr|A,B,C|] will splice in a value of Proxy :: Proxy [A,B,C].

valuepr1 :: QuasiQuoter
#

Deprecated. pr1 will be removed in the next release. Use Proxy with TypeApplications instead. Instead of using [pr1|T|], use Proxy @'[T] instead.

Like pr, but takes a single type, which is used to produce a Proxy for a single-element list containing only that type. This is useful for passing a single type to a function that wants a list of types.