Generic Function
peek-char that returns a character on a given stream without removing it from the stream buffer. stream
stream-peek-char stream => result
A stream.
A character or:EOF symbol.
stream-peek-char is used to implementpeek-char, and corresponds to a peek-type ofnil. The default method reads a character from the stream without removing it from the stream buffer, by usingstream-read-char andstream-unread-char. stream-listenstream-read-charstream-unread-char