ghc-8.2.0.20170404: The GHC API
PrelRules (signature[?])
Synopsis
primOpRules :: Name -> PrimOp -> Maybe CoreRule Source #
builtinRules :: [CoreRule] Source #
caseRules :: DynFlags -> CoreExpr -> Maybe (CoreExpr, Integer -> Integer) Source #
Match the scrutinee of a case and potentially return a new scrutinee and a function to apply to each literal alternative.