Automatic useless-code elimination for HOT functional programs

Ferruccio Damiani, Paola Giannini

Research output: Contribution to journalArticlepeer-review

Abstract

In this paper we present two type inference systems for detecting useless-code in higher-order typed functional programs. Type inference can be performed in an efficient and complete way, by reducing it to the solution of a system of constraints. We also give a useless-code elimination algorithm which is based on a combined use of these type inference systems. The main application of the technique is the optimization of programs extracted from proofs in logical frameworks, but it could be used as well in the elimination of useless-code determined by program transformations.

Original languageEnglish
Pages (from-to)509-559
Number of pages51
JournalJournal of Functional Programming
Volume10
Issue number6
DOIs
Publication statusPublished - Nov 2000

Fingerprint

Dive into the research topics of 'Automatic useless-code elimination for HOT functional programs'. Together they form a unique fingerprint.

Cite this