| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
LAM.CanTrim
Description
Trimming closures.
Documentation
class CanTrim term (t :: Type -> Type) where #
CanTrim for a term type term and container type t provides
a function to trim the enivronment of a closure, i.e. to remove all
unused variables. If the term type uses DeBruijn indices, this also
has to adjust the indices for the new environment.