Linear, bounded, functional pretty-printing

23Citations
Citations of this article
33Readers
Mendeley users who have this article in their library.

Abstract

Abstract We present two implementations of Oppen's pretty-printing algorithm in Haskell that meet the efficiency of Oppen's imperative solution but have a simpler and a clear structure. We start with an implementation that uses lazy evaluation to simulate two co-operating processes. Then we present an implementation that uses higher-order functions for delimited continuations to simulate co-routines with explicit scheduling. © 2008 Cambridge University Press.

Cite

CITATION STYLE

APA

Swierstra, S. D., & Chitil, O. (2009). Linear, bounded, functional pretty-printing. Journal of Functional Programming, 19(1), 1–16. https://doi.org/10.1017/S0956796808006990

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free