stream-cdr

[procedure] stream-car stream

[procedure] stream-cdr stream

SRFI-40: Returns car/cdr field of a stream pair stream. See also stream-cons.

Examples:

(stream-car (stream 'a 'b 'c))              => a
(stream-car stream-null)                    => error
(stream-car 3)                              => error

(stream-cdr (stream 'a 'b 'c))              => (stream 'b 'c)
(stream-cdr stream-null)                    => error
(stream-cdr 3)                              => error