ghc-8.11.0.20200524: The GHC API
Safe HaskellNone
LanguageHaskell2010

GHC.Tc.Validity

Synopsis

Documentation

data Rank Source #

Instances

Instances details
Outputable Rank Source # 
Instance details

Defined in GHC.Tc.Validity

checkValidTyFamEqn Source #

Arguments

:: TyCon

of the type family

-> [Var]

Bound variables in the equation

-> [Type]

Type patterns

-> Type

Rhs

-> TcM () 

Do validity checks on a type family equation, including consistency with any enclosing class instance head, termination, and lack of polytypes.

checkConsistentFamInst Source #

Arguments

:: AssocInstInfo 
-> TyCon

Family tycon

-> CoAxBranch 
-> TcM () 

arityErr :: Outputable a => SDoc -> a -> Int -> Int -> SDoc Source #