MatchLit

ghc-8.6.5: The GHC API

Safe Haskell | None
Language | Haskell2010

MatchLit

# Documentation

dsLit :: HsLit GhcRn -> DsM CoreExpr #

dsOverLit :: HsOverLit GhcTc -> DsM CoreExpr #

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

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

tidyLitPat :: HsLit GhcTc -> Pat GhcTc #

tidyNPat :: HsOverLit GhcTc -> Maybe (SyntaxExpr GhcTc) -> SyntaxExpr GhcTc -> Type -> Pat GhcTc #

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

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

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

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

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

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