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

tiny correction for pitfalls

This page is part of the web mail archives of SRFI 41 from before July 7th, 2015. The new archives for SRFI 41 contain all messages, not just those from before July 7th, 2015.

Another tiny correction for the pitfalls section:
Related to the paragraph containing: "eq?, eqv? and equal? are not meaningful when applied to streams ..."
(define s ((lambda () stream-null)))
(eq? s stream-null) --> #t !!!
Phil, I think you ment:
(define s ((stream-lambda () stream-null)))
(stream-null? s) --> #t
(eq? s stream-null) --> #f

((((lambda(x)((((((x x)x)x)x)x)x))
   (lambda(x)(lambda(y)(x(x y)))))
  (lambda(x)(write x)x))