Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Synopsis
- makePluggedSig :: Bool -> ModName -> TCEmb TyCon -> TyConMap -> HashSet StableName -> PlugTV Var -> LocSpecType -> LocSpecType
- makePluggedDataCon :: Bool -> TCEmb TyCon -> TyConMap -> Located DataConP -> Located DataConP
Documentation
makePluggedSig :: Bool -> ModName -> TCEmb TyCon -> TyConMap -> HashSet StableName -> PlugTV Var -> LocSpecType -> LocSpecType Source #
NOTE: Be *very* careful with the use functions from RType -> GHC.Type, e.g. toType, in this module as they cannot handle LH type holes. Since this module is responsible for plugging the holes we obviously cannot assume, as in e.g. L.H.L.Constraint.* that they do not appear.