Pretty printing with lazy dequeues

8Citations
Citations of this article
21Readers
Mendeley users who have this article in their library.

Abstract

There are several purely functional libraries for converting tree structured data into indented text, but they all make use of some backtracking. Over twenty years ago, Oppen published a more efficient imperative implementation of a pretty printer. This article shows that the same efficiency is also obtainable without destructive updates by developing a similar but purely functional Haskell implementation with the same complexity bounds. At its heart lie two lazy double ended queues.

Author supplied keywords

Cite

CITATION STYLE

APA

Chitil, O. (2005). Pretty printing with lazy dequeues. ACM Transactions on Programming Languages and Systems, 27(1), 163–184. https://doi.org/10.1145/1053468.1053473

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