Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type RolesInfo = Name -> [Role]
- inferRoles :: HscSource -> RoleAnnotEnv -> [TyCon] -> Name -> [Role]
- checkSynCycles :: UnitId -> [TyCon] -> [LTyClDecl GhcRn] -> TcM ()
- checkClassCycles :: Class -> Maybe SDoc
- addTyConsToGblEnv :: [TyCon] -> TcM TcGblEnv
- mkDefaultMethodType :: Class -> Id -> DefMethSpec Type -> Type
- tcRecSelBinds :: [(Id, LHsBind GhcRn)] -> TcM TcGblEnv
- mkRecSelBinds :: [TyCon] -> [(Id, LHsBind GhcRn)]
- mkOneRecordSelector :: [ConLike] -> RecSelParent -> FieldLabel -> (Id, LHsBind GhcRn)
Documentation
inferRoles :: HscSource -> RoleAnnotEnv -> [TyCon] -> Name -> [Role] Source #
Implicits
mkDefaultMethodType :: Class -> Id -> DefMethSpec Type -> Type Source #
Record selectors
mkOneRecordSelector :: [ConLike] -> RecSelParent -> FieldLabel -> (Id, LHsBind GhcRn) Source #