Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type MiniFixityEnv = FastStringEnv (Located Fixity)
- addLocalFixities :: MiniFixityEnv -> [Name] -> RnM a -> RnM a
- lookupFixityRn :: Name -> RnM Fixity
- lookupFixityRn_help :: Name -> RnM (Bool, Fixity)
- lookupFieldFixityRn :: FieldOcc GhcRn -> RnM Fixity
- lookupTyFixityRn :: LocatedN Name -> RnM Fixity
Documentation
type MiniFixityEnv = FastStringEnv (Located Fixity) Source #
addLocalFixities :: MiniFixityEnv -> [Name] -> RnM a -> RnM a Source #
lookupFixityRn_help :: Name -> RnM (Bool, Fixity) Source #
lookupFixityRn_help
returns (True, fixity)
if it finds a Fixity
in a local environment or from an interface file. Otherwise, it returns
(False, fixity)
(e.g., for unbound Name
s or Name
s without
user-supplied fixity declarations).