MatchLit

ghc-8.2.2: The GHC API

Safe Haskell | None
Language | Haskell2010

MatchLit

# Documentation

dsLit :: HsLit -> DsM CoreExpr Source #

dsOverLit :: HsOverLit Id -> DsM CoreExpr Source #

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

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

tidyLitPat :: HsLit -> Pat Id Source #

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

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

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