(module xxx (lib "plt-pretty-big-text.ss" "lang") <br>
(require (lib "list.ss" "srfi" "1")))<br>
<br>
still gives: <br>
<br>
module: identifier already imported (from a different source) in: third<br>
<br>
looking at the files, 1.ss includes list.ss then seems to re-export most of it. it appears to be the "front end"<br>
<br>
<br>
I started creating a list of all clashes to do a <br>
<br>
(require (all-except (lib "1.ss" "srfi") <br>
second third sixth ...<br>
<br>
However this means for functions that are in common between
mzlist/list.ss and srfi-1, but srfi-1 has extended functionality on,
the entended functionality will be missing.<br>
<br>
I guess my real solution is to moddify plt-pretty-big-text.ss<br>
<br>
(module plt-pretty-big-text mzscheme<br>
(require (lib "etc.ss")<br>
(lib "file.ss")<br>
(lib "list.ss")<br>
(lib "class.ss")<br>
<br>
to be:<br>
<br>
(module plt-pretty-big-text mzscheme<br>
(require (lib "etc.ss")<br>
(lib "file.ss")<br>
(lib ("list.ss" "srfi" "1"))<br>
(lib "class.ss")<br>
<br>
<br>
<br>
Corey<br>
<br><br><div><span class="gmail_quote">On 4/9/06, <b class="gmail_sendername">Jens Axel Søgaard</b> <<a href="mailto:jensaxel@soegaard.net">jensaxel@soegaard.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> From: *Corey Sweeney*<br>> Date: Apr 8, 2006 7:40 PM<br>> Subject: Re: [plt-scheme] already imported identitfiers in "pretty-big"<br>> To: <a href="mailto:jay@cs.brown.edu">jay@cs.brown.edu</a> <mailto:
<a href="mailto:jay@cs.brown.edu">jay@cs.brown.edu</a>><br>><br>> hmm, don't actually need my "third" function to come from srfi/1.ss, I<br>> just want to not have to deal with the clash every time i write some
<br>> code. Is there a way to do:<br>><br>><br>> (module grr (lib "plt-pretty-big-text.ss" "lang")<br>> (require (except (lib "1" "srfi") `those-that-clash))<br>>
<br>> (third `(1 2 3))<br>> (fold + 1 `(1 2 3)))<br>><br>> short of figureing out a "those that clash" list by hand and typing them in?<br><br>I don't think so.<br><br>It would be nice if the error message gave all clashing names at once
<br>instead of one at a time.<br><br>For srfi-1 use<br><br> (require (lib "list.ss" "srfi" "1"))<br><br>to avoid clashes (could this be added to the top of the srfi-1<br>documentation?).<br>
<br>Or use Herman's<br><br><<a href="http://planet.plt-scheme.org/300/docs/dherman/list.plt/1/0/doc.txt">http://planet.plt-scheme.org/300/docs/dherman/list.plt/1/0/doc.txt</a>><br><br>--<br>Jens Axel Søgaard<br><br>
<br>_________________________________________________<br> For list-related administrative tasks:<br> <a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a>
<br></blockquote></div><br><br clear="all"><br>-- <br>((lambda (y) (y y)) (lambda (y) (y y)))