Lecture Notes in Computer Science, 2003, Volume 2622/2003, 77-89, DOI: 10.1007/3-540-36579-6_6

A New One-Pass Transformation into Monadic Normal Form

Olivier Danvy

View Related Documents

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.
Basic Research in Computer Science (www.brics.dk), funded by the Danish National Research Foundation.

Fulltext Preview

Image of the first page of the fulltext document