TcFlatten

ghc-8.4.2: The GHC API

Safe Haskell | None
Language | Haskell2010

TcFlatten

# Documentation

data FlattenMode Source #

Constructors

FM_FlattenAll |
FM_SubstOnly |

Instances

Outputable FlattenMode Source # |
Instance details Defined in TcFlatten Methods ppr :: FlattenMode -> SDoc Source # pprPrec :: Rational -> FlattenMode -> SDoc Source #

flatten :: FlattenMode -> CtEvidence -> TcType -> TcS (Xi, TcCoercion) Source #

flattenManyNom :: CtEvidence -> [TcType] -> TcS ([Xi], [TcCoercion]) Source #

unflattenWanteds :: Cts -> Cts -> TcS Cts Source #