Shortcut fusion rules for the derivation of circular and higher-order programs

Alberto Pardo, João Paulo Fernandes, João Saraiva

Research output: Contribution to journalArticlepeer-review

Abstract

Functional programs often combine separate parts using intermediate data structures for communicating results. Programs so defined are modular, easier to understand and maintain, but suffer from inefficiencies due to the generation of those gluing data structures. To eliminate such redundant data structures, some program transformation techniques have been proposed. One such technique is shortcut fusion, and has been studied in the context of both pure and monadic functional programs. In this paper, we study several shortcut fusion extensions, so that, alternatively, circular or higher-order programs are derived. These extensions are also provided for effect-free programs and monadic ones. Our work results in a set of generic calculation rules, that are widely applicable, and whose correctness is formally established.

Original languageEnglish (US)
Pages (from-to)115-149
Number of pages35
JournalHigher-Order and Symbolic Computation
Volume24
Issue number1-2
DOIs
StatePublished - Jun 2011

Keywords

  • Circular and higher-order programming
  • Monadic computations
  • Shortcut fusion

ASJC Scopus subject areas

  • Software
  • Computer Science Applications

Fingerprint

Dive into the research topics of 'Shortcut fusion rules for the derivation of circular and higher-order programs'. Together they form a unique fingerprint.

Cite this