From: Joe Marshall Date: Sun, 17 Jan 2016 01:20:27 +0000 (-0800) Subject: Typos. X-Git-Tag: mit-scheme-pucked-9.2.12~373^2~7 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=08a86a097107c50d7e01edb070969f26681d2262;p=mit-scheme.git Typos. --- diff --git a/src/runtime/stream.scm b/src/runtime/stream.scm index e0a0e306e..cf8c81142 100644 --- a/src/runtime/stream.scm +++ b/src/runtime/stream.scm @@ -267,9 +267,9 @@ USA. (define (stream->list stream) (let loop ((s stream) (elements '())) - (cond ((stream-pair? tail) (loop (tail s) (cons (head s) elements))) + (cond ((stream-pair? s) (loop (tail s) (cons (head s) elements))) ((null? s) (reverse elements)) - (else (error:illegal-stream-element stream 'STREAM->LIST 0))))) + (else (error:illegal-stream-element s 'STREAM->LIST 0))))) (define prime-numbers-stream)