ghc-8.10.4: The GHC API
Safe HaskellNone
LanguageHaskell2010

TcOrigin

Synopsis

Documentation

data CtOrigin Source #

Instances

Instances details
Outputable CtOrigin # 
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