scsh-users
[Top] [All Lists]

open-{in,out}put-file redefined...

To: scsh-bugs@martigny.ai.mit.edu
Subject: open-{in,out}put-file redefined...
From: Alan Bawden <Alan@lcs.mit.edu>
Date: Fri, 4 Apr 1997 22:07:55 -0500
Sender: Alan@lcs.mit.edu
The documentation claims that the `scsh' structure provides an
`open-input-file' that is upwardly compatible with the `open-input-file'
provided by the `scheme' structure.  This is true, but useless as far as I
can tell.  The Scheme48 module system says that it is an error to open more
than one structure that exports the same name, and sure enough, if I open
both `scheme' and `scsh' in some new structure I'm building, the binding of
the name `open-input-file' is unpredictable.  Sometimes I get the scsh
version, and sometimes I get the original Scheme48 version.

Of course none of the package/module/structure/interface stuff is
adaquately documented, so perhaps I'm doing something wrong.  Here is what
I'm trying to do:

  (define-structure utilities (export [...])
    (open scheme
          receiving
          scsh
          )
    (files utilities
           ))

I'm only guessing that I'm supposed to be including `scsh' in the list of
structures to open -- nothing I can find in the manual tells me how I'm
expected to do this.

<Prev in Thread] Current Thread [Next in Thread>
  • open-{in,out}put-file redefined..., Alan Bawden <=