ghc-7.10.2: The GHC API

Safe Haskell | None
Language | Haskell2010

MatchLit

# Documentation

dsLit :: HsLit -> DsM CoreExpr Source

dsOverLit :: HsOverLit Id -> DsM CoreExpr Source

hsLitKey :: DynFlags -> HsLit -> Literal Source

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

tidyLitPat :: HsLit -> Pat Id Source

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

warnAboutIdentities :: DynFlags -> CoreExpr -> Type -> DsM () Source

warnAboutEmptyEnumerations :: DynFlags -> LHsExpr Id -> Maybe (LHsExpr Id) -> LHsExpr Id -> DsM () Source