[racket] use of SRFIs in Racket

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Wed Sep 25 09:28:35 EDT 2013

The SRFI ship with Racket and when they provide useful functionality
not duplicated in the rest of Racket, I don't see any reason why you
wouldn't want to use them, which is why they are shipped and indexed
in the documentation. (Situations where they duplicate are stuff like
promises and the iteration SRFIs.) In any case, I anticipate that we
will continue to provide SRFI support indefinitely.


On Tue, Sep 24, 2013 at 10:01 PM, Edward Earnest
<edwardearnest2015 at gmail.com> wrote:
> Good evening all,
> This might be a silly question -- but what is the official status of the
> included SRFIs in Racket as they relate to #lang racket?
> I am working on my first Racket program and I need to be able to test if a
> given string is present inside another string.
> For example: I need to be able to ask if the string "Hello how are you?"
> contains the word "how".
> In other words, I need a function like string-contains, as found in SRFI-13.
> However, I am unclear on the breakdown between racket & racket/base and the
> SRFIs.  I know that they are there from an historical perspective (PLT
> Scheme) but are they something we should be using in new *Racket* code?
> If so, are they planned to be supported long-term as standard libraries of
> Racket? Or are there any plans to eventually integrate some of what they
> provide into Racket itself? (Do these two questions even apply, or are SRFIs
> such a part of racket as to make it nonsensical?)
> If not, what is the suggested approach in this circumstance?  I'd rather not
> re-invent the wheel, but neither do I necessarily want to depend on these
> libraries that are hidden away in the documentation when writing idiomatic
> Racket if they might disappear someday. Forgive me if I'm missing some other
> trivial way to test for this; I'm coming from a Ruby background and still
> learning Racket.
> And, as a question of semantics, I am referring to the #lang racket/base and
> #lang racket sub-family of languages; what I, as a newcomer, see as the core
> and standard library of Racket (since Racket can be so many different
> wonderful things!). I'm not sure that's an entirely accurate way to think
> about it, but again I betray my Ruby background.
> Thanks for reading,
> Cheers,
> Edward
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/users

Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University

"The glory of God is Intelligence" - D&C 93

Posted on the users mailing list.