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: Input and Output   [Contents][Index]


6.14.10 R6RS I/O Ports

The I/O port API of the Revised Report^6 on the Algorithmic Language Scheme (R6RS) is provided by the (rnrs io ports) module. It provides features, such as binary I/O and Unicode string I/O, that complement or refine Guile’s historical port API presented above (see Input and Output). Note that R6RS ports are not disjoint from Guile’s native ports, so Guile-specific procedures will work on ports created using the R6RS API, and vice versa.

The text in this section is taken from the R6RS standard libraries document, with only minor adaptions for inclusion in this manual. The Guile developers offer their thanks to the R6RS editors for having provided the report’s text under permissive conditions making this possible.

Note: The implementation of this R6RS API is not complete yet.

A subset of the (rnrs io ports) module, plus one non-standard procedure unget-bytevector (see R6RS Binary Input), is provided by the (ice-9 binary-ports) module. It contains binary input/output procedures and does not rely on R6RS support.


Next: , Previous: , Up: Input and Output   [Contents][Index]