<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Corey Sweeney</b> &lt;<a href="mailto:corey.sweeney@gmail.com">corey.sweeney@gmail.com</a>&gt;<br>Date: Apr 8, 2006 7:40 PM
<br>Subject: Re: [plt-scheme] already imported identitfiers in &quot;pretty-big&quot;<br>To: <a href="mailto:jay@cs.brown.edu">jay@cs.brown.edu</a><br><br></span><div style="direction: ltr;">hmm, don't actually need my &quot;third&quot; function to come from srfi/1.ss, I
just want to not have to deal with the clash every time i write some
code.&nbsp; Is there a way to do:</div><div style="direction: ltr;"><span class="q"><br>
<br>
<span>(module grr (lib &quot;plt-pretty-big-text.ss&quot; &quot;lang&quot;)<br></span>
</span></div><div style="direction: ltr;"><div style="direction: ltr;">
&nbsp; (require (except (lib &quot;1&quot; &quot;srfi&quot;) `those-that-clash))<br><br>&nbsp; (third `(1 2 3))<br>
&nbsp; (fold + 1 `(1 2 3)))<br></div>
<br>
short of figureing out a &quot;those that clash&quot; list by hand and typing them in?<br></div><div style="direction: ltr;"><span class="sg">
<br>
Corey</span></div><div style="direction: ltr;"><span class="e" id="q_10a7be0a45e89d31_4"><br><br><div><span class="gmail_quote">On 4/8/06, <b class="gmail_sendername">Jay McCarthy</b> &lt;<a href="mailto:jay.mccarthy@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
jay.mccarthy@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;">Yes. You can use the &quot;prefix&quot; require form to avoid name clashes, i.e.:</div><div style="direction: ltr;"><span><br><br>(module grr (lib &quot;plt-pretty-big-text.ss&quot; &quot;lang&quot;)
<br></span></div><div style="direction: ltr;">
&nbsp; (require (prefix srfi:1: (lib &quot;1&quot; &quot;srfi&quot;)))<br><br>&nbsp; (srfi:1:third `(1 2 3))<br>&nbsp; (third `(1 2 3)))<br><br>Jay<br>
<br><br><div></div><div style="direction: ltr;"><span><span class="gmail_quote">On 4/8/06, <b class="gmail_sendername">Corey Sweeney</b> &lt;<a href="mailto:corey.sweeney@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

corey.sweeney@gmail.com</a>&gt; wrote:</span></span></div><div style="direction: ltr;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"></blockquote>

</div><div style="direction: ltr;"><span>
<div style="direction: ltr;">The following &quot;program&quot;:<br>
<br>
(module grr (lib &quot;plt-pretty-big-text.ss&quot; &quot;lang&quot;)<br>
&nbsp; (require (lib &quot;1&quot; &quot;srfi&quot;)))<br>
<br>
gives the following error message:<br>
<br>
module: identifier already imported (from a different source) in: third<br clear="all"><br>
<br>
Does this mean that the third function has 2 seperate implementations in the libraries?<br>
<br>
<br>
Corey<br></div><div style="direction: ltr;"><span>-- <br>((lambda (y) (y y)) (lambda (y) (y y)))

</span></div><br></span></div><div style="direction: ltr;">_________________________________________________<br> &nbsp;For list-related administrative tasks:<br> &nbsp;<a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a><br><br><br></div><br><br clear="all"><br>-- <br>Jay McCarthy &lt;<a href="mailto:jay@cs.brown.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

jay@cs.brown.edu</a>&gt;<br><a href="http://jay.makeoutcity.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://jay.makeoutcity.com/</a>

</div></blockquote></div><br><br clear="all"><br>-- <br>((lambda (y) (y y)) (lambda (y) (y y)))

</span></div><br clear="all"><br>-- <br>Jay McCarthy &lt;<a href="mailto:jay@cs.brown.edu">jay@cs.brown.edu</a>&gt;<br><a href="http://jay.makeoutcity.com/">http://jay.makeoutcity.com/</a>