The defunctionalization translation that eliminates higher-order functions from programs forms a key part of many compilers. However, defunctionalizat

Better Defunctionalization through Lambda Set Specialization

submited by
Style Pass
2024-11-24 16:00:17

The defunctionalization translation that eliminates higher-order functions from programs forms a key part of many compilers. However, defunctionalization for dependently-typed languages has not been formally studied.

Defunctionalization is a program transformation that aims to turn a higher-order functional program into a first-order one, that is, to eliminate the use of functions as first-class values. Its purpose is thus identical to that of closure conversion. It ...

Defunctionalization is a program transformation that eliminates functions as first-class values. We show that defunctionalization can be viewed as a type-preserving transformation of an extension of F with guarded algebraic data types into ...

Leave a Comment