Warning: This is the manual of the legacy Guile 2.0 series. You may want to read the manual of the current stable series instead.

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


6.14.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