Hello Bahman,

> And of course, upon further investigation, the head hadn't moved an inch
> after `take` or `car`.  What am I missing?

looks to me as if the interface is purely functional.  (stream-car
(stream-drop 2 my-stream)) evaluates to 2.  The original SRFI page shows
a few examples with stream-let and stream-fold for processing a stream
by looking at its car and proceeding on its cdr.

Cheers
Vasilij

_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to