ghc-7.0.3: The GHC API

MatchLit

# Documentation

dsLit :: HsLit -> DsM CoreExpr Source

dsOverLit :: HsOverLit Id -> DsM CoreExpr Source

hsLitKey :: HsLit -> Literal Source

hsOverLitKey :: OutputableBndr a => HsOverLit a -> Bool -> Literal Source

tidyLitPat :: HsLit -> Pat Id Source

tidyNPat :: HsOverLit Id -> Maybe (SyntaxExpr Id) -> SyntaxExpr Id -> Pat Id Source

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

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

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