Note [Binding coercions]
Consider binding a CoVar, c = e. Then, we must satisfy Note [Core type and coercion invariant] in GHC.Core, which allows only (Coercion co) on the RHS. ************************************************************************ * * Operations over case alternatives * * ************************************************************************ The default alternative must be first, if it exists at all. This makes it easy to find, though it makes matching marginally harder.
References 1
- Core type and coercion invariant GHC.Core
Referenced by 1
- GHC.Core.Utils call site