ghc-8.4.0.20180204: The GHC API

Safe HaskellNone
LanguageHaskell2010

TcPat

Synopsis

Documentation

tcPat_O Source #

Arguments

:: HsMatchContext Name 
-> CtOrigin

origin to use if the type needs inst'ing

-> LPat GhcRn 
-> ExpSigmaType 
-> TcM a 
-> TcM (LPat GhcTcId, a) 

A variant of tcPat that takes a custom origin