[plt-scheme] symbols redefined in SRFIs

From: Paulo J. Matos (pocm at soton.ac.uk)
Date: Mon Oct 23 07:16:22 EDT 2006

On 10/23/06, Dan Muresan <danmbox at gmail.com> wrote:
> Hi, how can I write a module that uses SRFI-1?
> (module tst mzscheme (provide f) (require (lib "1.ss" "srfi")) (define f 10))

Use prefix:
(module tst mzscheme (provide f) (require (prefix srfi1: (lib "1.ss"
"srfi"))) (define f 10))

and then all identifiers imported from srfi1 have srfi1: prefix, for
example srfi1:reverse!.


Paulo Jorge Matos - pocm at soton.ac.uk
PhD Student @ ECS
University of Southampton, UK

Posted on the users mailing list.