[plt-scheme] List libraries - name collisions

From: Grant Rettke (grettke at acm.org)
Date: Sat Mar 29 22:39:44 EDT 2008

On Sat, Mar 29, 2008 at 9:30 PM, Henk Boom <lunarc.lists at gmail.com> wrote:
> On 29/03/2008, Mark Engelberg <mark.engelberg at gmail.com> wrote:
>  > According to the manual for v372,
>  >
>  >  I should be able to use both of the following lines:
>  >  (require (lib "list.ss"))
>  >  (require (lib "list.ss" "srfi" "1"))

I was just asking about something like this, but in regard to srfi 13.

>  >  because the names in the srfi version are supposed to be renamed to
>  >  avoid collisions.
>  >  But I'm getting an error, indicating that "third" and possibly other
>  >  functions are defined in both modules.
>  >
>  >  Is there something I'm doing wrong, or is this a bug?
>
>  Someone correct me if I'm wrong, but I believe that (lib "list.ss"
>  "srfi" "1") only omits collisions with the mzscheme language, not any
>  other libraries.

That sounds right.

Here was the reply to my post (thanks Chongkai):

http://groups.google.com/group/plt-scheme/msg/31a81493202b3fc8

-- 
http://www.wisdomandwonder.com/


Posted on the users mailing list.