ghc-8.0.2: 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