(stream-cons (1) stream-null) => stream David Van Horn (10 Nov 2006 23:38 UTC)
Re: (stream-cons (1) stream-null) => stream David Van Horn (10 Nov 2006 23:46 UTC)
Re: (stream-cons (1) stream-null) => stream AndrevanTonder (11 Nov 2006 00:41 UTC)
Re: (stream-cons (1) stream-null) => stream David Van Horn (11 Nov 2006 01:03 UTC)
Re: (stream-cons (1) stream-null) => stream AndrevanTonder (11 Nov 2006 12:32 UTC)
Re: (stream-cons (1) stream-null) => stream David Van Horn (11 Nov 2006 02:21 UTC)
Re: (stream-cons (1) stream-null) => stream AndrevanTonder (11 Nov 2006 14:19 UTC)

Re: (stream-cons (1) stream-null) => stream David Van Horn 11 Nov 2006 01:03 UTC

AndrevanTonder wrote:
> On Fri, 10 Nov 2006, David Van Horn wrote:
>
>> David Van Horn wrote:
>>
>>    (stream-cdr (stream-cons (1) stream-null))
>>
>> Which should evaluate to a stream ...
>
> I do not think this statement is necessarily correct.  I believe it is
> legitimate for this to give the error it currently does.

My interpretation is based on the following:

   "no element of the stream is evaluated until it is accessed."

Nowhere is the car element accessed, so it should not be evaluated.

David