I second that.
On Apr 19, 2012, at 5:57 AM, Laurent wrote: > (sorry, I couldn't figure out how to reply properly from the list archive, as > I don't receive the dev-list emails.) > > One string function that I often find useful in various scripting languages > is a `string-split' (explode in php). > It can be done with `regexp-split', but having something more along the lines > of a `string-split' should belong to a racket/string lib I think. > Plus it would be symmetric with `string-join', which already is in > racket/string (or at least a doc line pointing to regexp-split should be > added there). > > Maybe also a `string-replace' could be useful, especially when one does not > want regexps and has special characters that need to be quoted. > > Regexps are very powerful, but they are complicated for beginners. > > Laurent > > > I think `racket/string' should provide the useful string functions, > rather than refer users to srfis. The only srfi/13 function I ever > use is `string-trim-both' -- any objection to adding that to > `racket/string'? > On Tue, Apr 17, 2012 at 5:29 PM, Matthias Felleisen > <matth...@ccs.neu.edu> wrote: > > > > I saw no response to this question and no commit that includes the > > cross-link. Anything? > > > > > > Begin forwarded message: > > > >> From: Asumu Takikawa <as...@ccs.neu.edu> > >> Subject: Re: [racket] Are There More String Functions? > >> Date: April 12, 2012 5:47:26 PM EDT > >> To: Cristian Esquivias <cristian.esquiv...@gmail.com> > >> Cc: us...@racket-lang.org > >> > >> On 2012-04-12 10:43:15 -0700, Cristian Esquivias wrote: > >>> As a slight aside, is this module mentioned anywhere in the Racket > >>> Guide or Racket Reference? I tried to RTFM as much as possible but > >>> didn't see this module mentioned anywhere in the string pages. Should > >>> this module be mentioned for others like me? > >> > >> I think that's an interesting point and has been brought up before on > >> this list: what's the official stance on SRFIs? On the documentation > >> page they are near the bottom in "Miscellaneous libraries". > >> > >> If their use is encouraged, maybe doc pages should have a pointer in the > >> margin similar to how reference entries point to guide entries. For > >> example, the string section in the reference could point to SRFI-13. > >> > >> Cheers, > >> Asumu > >> ____________________ > >> Racket Users list: > >> http://lists.racket-lang.org/users > > > > > > _________________________ > > Racket Developers list: > > http://lists.racket-lang.org/dev > -- > sam th > sa...@ccs.neu.edu > _________________________ > Racket Developers list: > http://lists.racket-lang.org/dev
_________________________ Racket Developers list: http://lists.racket-lang.org/dev