If my require reads as follows<br><br>(require racket/base<br> srfi/13<br> (for-syntax racket/base<br> racket/syntax))<br><br>I get the following error message:<br><br>module: identifier already imported from: racket at: string-upcase in: srfi/13<br>
<br>'string-upcase' is both in Racket's string API and is srfi 13.<br><br clear="all">--<br>Chad Albers<br><br>
<br><br><div class="gmail_quote">On Wed, May 9, 2012 at 11:26 AM, Laurent <span dir="ltr"><<a href="mailto:laurent.orseau@gmail.com" target="_blank">laurent.orseau@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What conflict do you have?<br><br>The following works for me:<br><br>#lang racket<br>(require srfi/13) ; comment me<br>(string->list "auie")<br><br>whether or not you comment the require line (string->list is defined in both racket and srfi/13)<br>
<br>Laurent<br><br><div class="gmail_quote"><div><div class="h5">On Wed, May 9, 2012 at 5:12 PM, Chad Albers <span dir="ltr"><<a href="mailto:calbers@neomantic.com" target="_blank">calbers@neomantic.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi,<br><br>I'm having a long running discussion with my colleagues about the practically of scheme. I've argued that it is, and using Racket Scheme to prove my point. However, on the other side of the debate, I've noticed that Racket's string API is missing what I consider to be a extremely practical procedure - string-trim. This procedure is actually in srfi 13. While I can 'require' srfi13, I can't import it as is, because sfri-13's procedures overlap Racket's string procedures. I believe Racket's require feature allows me to just import those procedures I need from srfi 13, but I find that kind of awkward.<br>
<br>My question is, then, why would such a practical procedure missing from Racket's string API? <br><br><br clear="all">--<br>Chad<br><br>
<br></div></div>____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br></blockquote></div><br>
</blockquote></div><br>