Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Annotate let bindings with how their bound variables are used.
Usage map
Tracks how a bound variable is used.
UsedFunction | Bound variable is used as the function in an application. |
UsedDestruct | Bound variable is destructed by a case-expression. |
UsedInCast | Bound variable is used inside a |
UsedOcc | Bound variable has an occurrence that is not one of the above. |
UsedInLambda Used | Usage is inside a Lambda abstraction (either type or value) |
UsedInAlt Used | Usage is inside a case alternative. |
Map of bound name to how the variable is used.