ghc-7.0.3: The GHC API

MatchLit

# Documentation

dsLit :: HsLit -> DsM CoreExpr

dsOverLit :: HsOverLit Id -> DsM CoreExpr

hsLitKey :: HsLit -> Literal

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

tidyLitPat :: HsLit -> Pat Id

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

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

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

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