TcFlatten

ghc-8.4.4: The GHC API

Safe Haskell | None
Language | Haskell2010

TcFlatten

# Documentation

data FlattenMode #

Constructors

FM_FlattenAll |
FM_SubstOnly |

Instances

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

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

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

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