Next: , Previous: , Up: R6RS I/O Ports   [Contents][Index]


6.15.10.5 The End-of-File Object

R5RS’ eof-object? procedure is provided by the (rnrs io ports) module:

Scheme Procedure: eof-object? obj
C Function: scm_eof_object_p (obj)

Return true if obj is the end-of-file (EOF) object.

In addition, the following procedure is provided:

Scheme Procedure: eof-object
C Function: scm_eof_object ()

Return the end-of-file (EOF) object.

(eof-object? (eof-object))
⇒ #t