ghc-7.4.2: The GHC API

Safe Haskell | None

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 :: (HsLit -> Pat Id) -> 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