Moduleghc-10.0.0.20260917GHC2024
GHC.Core.Opt.ConstantFold
Constant Folder
Synopsis
- value primOpRules
- value builtinRules
- value caseRules
- value caseRules2
- Packageghc-10.0.0.20260917
- Exports4
- LanguageGHC2024
- LicenceBSD-3-Clause
- SourceConstantFold.hs
Match the scrutinee of a case and potentially return a new scrutinee and a function to apply to each literal alternative.
value
caseRules2 Case rules
It's important that occurrence info are present, hence the use of In* types.