| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
FreeC.Pass.PragmaPass
Description
This module contains a compiler pass that processes pragmas.
Specification
Preconditions
There are no special requirements.
Translation
- If there is a pragma of the form
{--}or{--}and a declarationf x₁ … xᵢ … xₙ = e, the indexi - 1and identifierxᵢare inserted into the environment as the decreasing argument off.
Postconditions
- There is an entry for all explicitly annotated decreasing arguments in the environment.