Hi,
(info "(guile-1.8)File Ports")
-- Scheme Procedure: open-input-file filename
Open FILENAME for input. Equivalent to
(open-file FILENAME "r")
-- Scheme Procedure: open-output-file filename
Open FILENAME for output. Equivalent to
(open-file FILENAME "w")
These procs are found in ice-9 r4rs. The docs make no mention of this
fact.
Having found the procs, you'd expect
(use-modules (ice-9 r4rs))
to work but it's broken. r4rs.scm doesn't even contain a call to
define-module.
Although:
load-from-path "ice-9/r4rs"
doesn't throw an error open-input-file and open-output-file are still
not bound.
Sebastian