ghc-lib-parser-8.8.1.20191204: The GHC API, decoupled from GHC versions
PrelRules
primOpRules :: Name -> PrimOp -> Maybe CoreRule Source #
builtinRules :: [CoreRule] Source #
caseRules :: DynFlags -> CoreExpr -> Maybe (CoreExpr, AltCon -> Maybe AltCon, Id -> CoreExpr) Source #
Match the scrutinee of a case and potentially return a new scrutinee and a function to apply to each literal alternative.