[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (stream-cons (1) stream-null) => stream



David Van Horn wrote:
There is a serious bug in the reference implementation of SRFI 40, which can be demonstrated by the following expression:

   (stream-cons (1) stream-null)

Sorry, this example should be instead:

    (stream-cdr (stream-cons (1) stream-null))

Which should evaluate to a stream, but the implementation gives an error.

David