On the Idempotence of the CPS Transformation
DOI:
https://doi.org/10.7146/brics.v3i14.21674Abstract
The CPS (continuation-passing style) transformation on typed lambda-terms has an interpretation in many areas of Computer Science, such as programming languages and type theory. Programming intuition suggests that in effect, it is idempotent, but this does not directly hold for all existing CPS transformations (Plotkin, Reynolds, Fischer, etc.).We rephrase the call-by-value CPS transformation to make it syntactically idempotent, modulo eta-reduction of the newly introduced continuation. Type-wise, iterating the transformation corresponds to refining the polymorphic domain of answers.
Downloads
Published
1996-05-04
How to Cite
Danvy, O., & Malmkjær, K. (1996). On the Idempotence of the CPS Transformation. BRICS Report Series, 3(14). https://doi.org/10.7146/brics.v3i14.21674
Issue
Section
Articles
License
Articles published in DAIMI PB are licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.