scsh-users
[Top] [All Lists]

string-downcase in scheme-with-scsh

To: scsh-news@zurich.csail.mit.edu
Subject: string-downcase in scheme-with-scsh
From: "Mike Simpson" <mike.simpson@doit.wisc.edu>
Date: Fri, 17 Oct 2003 09:45:07 -0500
Organization: University of Wisconsin-Madison
Forgive me if there's an obvious answer to this, but I didn't see
it in the SCSH FAQ.

When using scsh in interactive mode, the (string-downcase) function
performs as expected:

  Welcome to scsh 0.6.4 (Olin Shivers)
  Type ,? for help.
  > (string-downcase "FooBarBat")
  "foobarbat"

However, when I bury a call to (string-downcase) inside a structure
definition, even when I use (open scheme-with-scsh), scsh throws
the following error:

  Warning: undefined variables
           #{Package 227 test}
           string-downcase

  Error: undefined variable
         string-downcase
         (package test)

If I add the "srfi-13" module to the (open) call, i.e.

  (open scheme-with-scsh srfi-13)

then everything works fine.

Is this expected behavior, or a bug in the interface exports of
the scheme-with-scsh structure?

Thanks,

-mgs


<Prev in Thread] Current Thread [Next in Thread>