We present a non-standard type assignment system and simpli cations mappings for detecting and removing useless-code in simply typed functional programs with algebraic datatypes and recursive functions. We characterize two classes of useless-code: the dead-code, that is code that is never executed under the lazy-call-by-name evaluation, and the minimum-information-code, that is code that contributes to the computation only with a minimum amount of constant information.
CITATION STYLE
Damiani, F. (1999). Useless-code detection and elimination for PCF with algebraic data types. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 1581, pp. 83–97). Springer Verlag. https://doi.org/10.1007/3-540-48959-2_8
Mendeley helps you to discover research relevant for your work.