[racket] Requiring SRFI

From: Carl Eastlund (cce at ccs.neu.edu)
Date: Thu Nov 1 14:45:39 EDT 2012

What Eli linked should do that, just write:

(require (subtract-in srfi/13 racket))

That should require everything that's in srfi/13, except for names that are
already in racket.

Carl Eastlund


On Thu, Nov 1, 2012 at 2:43 PM, 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/5984da99/attachment.html>

Posted on the users mailing list.