Conference
Lazy v. Yield: Incremental, Linear Pretty-Printing
Abstract
We propose a programming style for incremental stream processing based on typed simple generators. It promotes modularity and decoupling of producers and consumers just like lazy evaluation. Simple generators, however, expose the implicit suspension and resumption inherent in lazy evaluation as computational effects, and hence are robust in the presence of other effects. Simple generators let us accurately reason about memory consumption. To …
Authors
Kiselyov O; Peyton-Jones S; Sabry A
Series
Lecture Notes in Computer Science
Volume
7705
Pagination
pp. 190-206
Publisher
Springer Nature
Publication Date
2012
DOI
10.1007/978-3-642-35182-2_14
Conference proceedings
Lecture Notes in Computer Science
ISSN
0302-9743