chickadee » srfi-216 » stream-null?

stream-null? xprocedure

Returns the value of true if x is the-empty-stream, and the value of false otherwise. See SICP Section 3.5.1, footnote 54.

Example:

(import (srfi 126))
(stream-null? the-empty-stream)
;; => #t
(stream-null? (cons-stream 'a 'b))
;; => #f

Equivalent to null?.