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

  • Authors:
  • Alberto Pardo;João Paulo Fernandes;João Saraiva

  • Affiliations:
  • Instituto de Computación, Universidad de la República, Montevideo, Uruguay;Departamento de Eng. Informática, Faculdade de Engenharia, Universidade do Porto, Porto, Portugal and HASLab/CCTC, Departamento de Informática, Universidade do Minho, Braga, Portugal;HASLab/CCTC, Departamento de Informática, Universidade do Minho, Braga, Portugal

  • Venue:
  • Higher-Order and Symbolic Computation
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

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.