Next: , Previous: rnrs io ports, Up: R6RS Standard Libraries


7.6.2.16 rnrs io simple

The (rnrs io simple (6)) library provides convenience functions for performing textual I/O on ports. This library also exports all of the condition types and associated procedures described in (see I/O Conditions).

— Scheme Procedure: eof-object
— Scheme Procedure: eof-object? obj

These procedures are identical to the ones provided by the (rnrs io ports (6)) library. See R6RS I/O Ports, for documentation.

— Scheme Procedure: input-port? obj
— Scheme Procedure: output-port? obj

These procedures are identical to the ones provided by Guile's core library. See Ports, for documentation.

— Scheme Procedure: call-with-input-file filename proc
— Scheme Procedure: call-with-output-file filename proc
— Scheme Procedure: open-input-file filename
— Scheme Procedure: open-output-file filename
— Scheme Procedure: with-input-from-file filename thunk
— Scheme Procedure: with-output-to-file filename thunk

These procedures are identical to the ones provided by Guile's core library. See File Ports, for documentation.

— Scheme Procedure: close-input-port input-port
— Scheme Procedure: close-output-port output-port

These procedures are identical to the ones provided by Guile's core library. See Closing, for documentation.

— Scheme Procedure: peek-char
— Scheme Procedure: peek-char textual-input-port
— Scheme Procedure: read-char
— Scheme Procedure: read-char textual-input-port

These procedures are identical to the ones provided by Guile's core library. See Reading, for documentation.

— Scheme Procedure: read
— Scheme Procedure: read textual-input-port

This procedure is identical to the one provided by Guile's core library. See Scheme Read, for documentation.

— Scheme Procedure: display obj
— Scheme Procedure: display obj textual-output-port
— Scheme Procedure: newline
— Scheme Procedure: newline textual-output-port
— Scheme Procedure: write obj
— Scheme Procedure: write obj textual-output-port
— Scheme Procedure: write-char char
— Scheme Procedure: write-char char textual-output-port

These procedures are identical to the ones provided by Guile's core library. See Writing, for documentation.