MatchLit

ghc-8.0.1: The GHC API

Safe Haskell | None
Language | Haskell2010

MatchLit

# Documentation

dsLit :: HsLit -> DsM CoreExpr #

dsOverLit :: HsOverLit Id -> DsM CoreExpr #

hsLitKey :: DynFlags -> HsLit -> Literal #

hsOverLitKey :: HsOverLit a -> Bool -> Literal #

tidyLitPat :: HsLit -> Pat Id #

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

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

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

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

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

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