arXiv · 2304.04574
Defunctionalization with Dependent Types
Abstract
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. We present the first formally-specified defunctionalization translation for a dependently-typed language and establish key metatheoretical properties such as soundness and type preservation. The translation is suitable for incorporation into type-preserving compilers for dependently-typed languages
Explore related subjects
Keep this discovery
Yulong Huang, Jeremy Yallop. 2023-04-10. Defunctionalization with Dependent Types. https://arxiv.org/abs/2304.04574
Cite the original work for its findings. Save a collection to share your selection of sources.