[plt-scheme] symbols redefined in SRFIs

From: Dan Muresan (danmbox at gmail.com)
Date: Mon Oct 23 06:48:25 EDT 2006

Hi, how can I write a module that uses SRFI-1?

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

raises

module: identifier already imported (from a different source) in: reverse!

I hope I don't have to add extra code to avoid such name clashes...

At least with SRFI-1, it's clear that some R5RS symbols are redefined.
For SRFI-69, it's even worse: I get a name clash for make-hash-table,
apparently because that function is included in the mzscheme
language...

There has to be a consistent way of importing SRFI's in modules
without worrying about such details, hopefully I'm missing something?

-- Dan


Posted on the users mailing list.