ghc-8.2.1.20171108: 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 Name 
-> ExpSigmaType 
-> TcM a 
-> TcM (LPat TcId, a) 

A variant of tcPat that takes a custom origin