Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Facilities for computing free term variables in various syntactic constructs.
Documentation
freeInPat :: Pat (TypeBase Size u) -> FV Source #
Free variables in pattern (including types of the bound identifiers).
freeInType :: TypeBase Size u -> FV Source #
Free variables in the type (meaning those that are used in size expression).
freeWithout :: FV -> Set VName -> FV Source #
Set subtraction. Do not consider those variables as free.