ghc-7.0.3: The GHC API

Match

# Documentation

match :: [Id] -> Type -> [EquationInfo] -> DsM MatchResult Source

matchEquations :: HsMatchContext Name -> [Id] -> [EquationInfo] -> Type -> DsM CoreExpr Source

matchWrapper :: HsMatchContext Name -> MatchGroup Id -> DsM ([Id], CoreExpr)Source

matchSimply :: CoreExpr -> HsMatchContext Name -> LPat Id -> CoreExpr -> CoreExpr -> DsM CoreExpr Source

matchSinglePat :: CoreExpr -> HsMatchContext Name -> LPat Id -> Type -> MatchResult -> DsM MatchResult Source