Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 - 1
and 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.