Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Streams in Common Lisp?

Section 3.5 of Structure and Interpretation of Computer Programs describes streams. Does Common Lisp have such streams built in or is there a good Common Lisp library implementing such streams?

[I mean streams in all the generality presented in section 3.5 of SICP; not just your usual i/o streams.]

like image 412
Paul Reiners Avatar asked Aug 24 '10 18:08

Paul Reiners


1 Answers

SERIES is a featureful library providing that sort of functionality. For a shorter and more readable example of how the concept of streams maps to Common Lisp, see Pipes.

like image 162
jmbr Avatar answered Sep 25 '22 06:09

jmbr