A new one-pass transformation into monadic normal form

  • Authors:
  • Olivier Danvy

  • Affiliations:
  • BRICS, Department of Computer Science, University of Aarhus, Aarhus C, Denmark

  • Venue:
  • CC'03 Proceedings of the 12th international conference on Compiler construction
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a translation from the call-by-value λ-calculus to monadic normal forms that includes short-cut boolean evaluation. The translation is higher-order, operates in one pass, duplicates no code, generates no chains of thunks, and is properly tail recursive. It makes a crucial use of symbolic computation at translation time.