© 1990 by British Computer Society
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Continuations Implement Generators and Streams
Department of Computer Science, Monash University, Clayton, Victoria 3168, Australia
Continuations are used to program generators and a variation on stream functions. The generators allow backtracking or non-deterministic search. The streams process sequences of values in stages without the creation of intermediate data structures (lists). Both are programmed in a functional language without special extensions. This brings two useful problem solving models into pure functional programming.
Received February 1988. revised July 1988.
* Department of Computer Science, Monash University, Clayton, Victoria 3168, Australi