[racket] Requiring SRFI
You don't have to itemize any names. Just put the name after the #lang
line. I assume that's racket, but it might be racket/base. You don't need
to list anything else you include, require will already report an error if
those clash.
Carl Eastlund
On Thu, Nov 1, 2012 at 2:45 PM, Mark Engelberg <mark.engelberg at gmail.com>wrote:
> My point being that I'm worried if I have to itemize all the names, I
> might miss a potential conflict.
>
>
> On Thu, Nov 1, 2012 at 11:43 AM, Mark Engelberg <mark.engelberg at gmail.com>wrote:
>
>> Thanks. Is there a simple way to do it without itemizing the specific
>> function names?
>>
>> I was caught off guard because I was using the new string-trim function.
>> When I included srfi/13, I didn't realize it was going to replace
>> string-trim with a version that was really just a "trim left" function. So
>> my code broke in a way I didn't anticipate. What I'd ideally like is to
>> just import all the srfi/13 names that don't create a conflict with
>> racket's built-in names.
>>
>> On Thu, Nov 1, 2012 at 11:27 AM, Eli Barzilay <eli at barzilay.org> wrote:
>>
>>>
>>> http://docs.racket-lang.org/reference/require.html#(form._((lib._racket/require..rkt)._subtract-in))
>>>
>>>
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20121101/dad8e86f/attachment-0001.html>