Next: srfi streams ack, Previous: srfi streams utilities, Up: srfi streams [Index]
The examples below show a few of the myriad ways streams can be exploited, as well as a few ways they can trip the unwary user. All the examples are drawn from published sources; it is instructive to compare the Scheme versions to the originals in other languages.
• srfi streams examples infinite: | Infinite streams. | |
• srfi streams examples generators: | Generators and co–routines. | |
• srfi streams examples pipeline: | A pipeline of procedures. | |
• srfi streams examples persistent: | Persistent data. | |
• srfi streams examples passes: | Reducing two passes to one. | |
• srfi streams examples pitfalls: | Pitfalls. |