unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Sebastian Tennant <sebyte@smolny.plus.com>
To: guile-user@gnu.org
Subject: ice-9 r4rs
Date: Wed, 19 Mar 2008 03:48:00 +0200	[thread overview]
Message-ID: <87abkv4h7z.fsf@moley.moleskin.org> (raw)

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	other threads:[~2008-03-19  1:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-19  1:48 Sebastian Tennant [this message]
2008-03-19 12:44 ` ice-9 r4rs Ludovic Courtès
2008-03-19 13:05   ` Sebastian Tennant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87abkv4h7z.fsf@moley.moleskin.org \
    --to=sebyte@smolny.plus.com \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).