MatchLit

ghc-8.6.4.20190406: The GHC API

Safe Haskell | None
Language | Haskell2010

MatchLit

# Documentation

dsLit :: HsLit GhcRn -> DsM CoreExpr Source #

dsOverLit :: HsOverLit GhcTc -> DsM CoreExpr Source #

dsOverLit' :: DynFlags -> HsOverLit GhcTc -> DsM CoreExpr Source #

hsLitKey :: DynFlags -> HsLit GhcTc -> Literal Source #

tidyLitPat :: HsLit GhcTc -> Pat GhcTc Source #

tidyNPat :: HsOverLit GhcTc -> Maybe (SyntaxExpr GhcTc) -> SyntaxExpr GhcTc -> Type -> Pat GhcTc 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 #

warnAboutOverflowedLiterals :: DynFlags -> HsOverLit GhcTc -> DsM () Source #

warnAboutEmptyEnumerations :: DynFlags -> LHsExpr GhcTc -> Maybe (LHsExpr GhcTc) -> LHsExpr GhcTc -> DsM () Source #