Linus Björnstam schreef op zo 04-07-2021 om 07:54 [+0200]: > Isn't eof-object? available in the default environment? Yes, but I use (define-library ...) and (library ...) forms instead of (define-module (...) ...) forms. When using define-library or library, the ‘default’ environment is ignored. I suppose I should import 'eof-object?' from (rnrs io ports) as I am using RnRS library forms. Still, this seems a bug in (ice-9 binary-ports) or the documentation and easy to fix. Greetings, Maxime.