Why not use scheme streams and the SICP chapter 4 query language? This was done in the 1980s.
http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-24.html...
3.5.2 Infinite Streams
http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-24.html...
3.5.2 Infinite Streams
No comments yet.