Note [Desugaring new-form SPECIALISE pragmas]
"New-form" SPECIALISE pragmas generate a SpecPragE record in the typechecker, which is desugared in this module by `dsSpec`. For the context see Note [Handling new-form SPECIALISE pragmas] in GHC.Tc.Gen.Sig Suppose we have f :: forall a b c d. (Ord a, Ord b, Eq c, Ix d) => ... f = rhs {-# SPECIALISE f @p @[p] @[Int] @(q,r) #
References 1
- Handling new-form SPECIALISE pragmas GHC.Tc.Gen.Sig
Referenced by 7
- GHC.HsToCore.Binds call site ×6
- GHC.Tc.Gen.Sig call site