ghc-7.6.3: The GHC API

Safe Haskell | None

Match

# Documentation

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

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

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

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

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