[plt-scheme] BUG: 206, modules and SRFI 1

From: Noel Welsh (noelwelsh at yahoo.com)
Date: Wed Feb 11 04:58:42 EST 2004

--- John Kozak <jk at xylema.org> wrote:
> test-206.ss:
> 
>   (module test-206 mzscheme
>     (require (lib "1.ss" "srfi")) )

It's not a bug, it's a feature! ;-)

To use SRFI-1 in modules write:

  (require (lib "list.ss" "srfi" "1"))

and note that same exported functions are prefixed
with s:

To use at the top-level write:

  (require (lib "1.ss" "srfi"))

and there are no prefixes.

HTH,
Noel

=====
Email: noelwelsh <at> yahoo <dot> com
Jabber: noelw <at> jabber <dot> org

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html


Posted on the users mailing list.