guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ice-9 r4rs


From: Sebastian Tennant
Subject: ice-9 r4rs
Date: Wed, 19 Mar 2008 03:48:00 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]