GHC.Types.Fixity.Env
type FixityEnv = NameEnv FixItem Source #
Fixity environment mapping names to their fixities
data FixItem Source #
Fixity information for an Name. We keep the OccName in the range so that we can generate an interface from it
Name
Constructors
Defined in GHC.Types.Fixity.Env
Methods
ppr :: FixItem -> SDoc Source #
emptyFixityEnv :: FixityEnv Source #
lookupFixity :: FixityEnv -> Name -> Fixity Source #
mkIfaceFixCache :: [(OccName, Fixity)] -> OccName -> Maybe Fixity Source #
Creates cached lookup for the mi_fix_fn field of ModIface
mi_fix_fn
ModIface
emptyIfaceFixCache :: OccName -> Maybe Fixity Source #