ghc-lib-parser-8.10.1.20200324: The GHC API, decoupled from GHC versions

Safe HaskellNone
LanguageHaskell2010

TcOrigin

Synopsis

Documentation

data CtOrigin Source #

Instances
Outputable CtOrigin Source # 
Instance details

Defined in TcOrigin

lexprCtOrigin :: LHsExpr GhcRn -> CtOrigin Source #

Extract a suitable CtOrigin from a HsExpr

matchesCtOrigin :: MatchGroup GhcRn (LHsExpr GhcRn) -> CtOrigin Source #

Extract a suitable CtOrigin from a MatchGroup

grhssCtOrigin :: GRHSs GhcRn (LHsExpr GhcRn) -> CtOrigin Source #

Extract a suitable CtOrigin from guarded RHSs