Yesterday, Sam Tobin-Hochstadt wrote:
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'?
+1 for this in general, and since the
On Apr 18, 2012, at 3:12 PM, Eli Barzilay wrote:
`string-normalize-spaces', which takes a string and a regexp for the
spaces, and turns all spaces into single ones. Same principles as
above. This one is getting a `#:trim?' keyword that says whether
spaces at the edges should be dropped
Just now, Matthias Felleisen wrote:
On Apr 18, 2012, at 3:12 PM, Eli Barzilay wrote:
`string-normalize-spaces', which takes a string and a regexp for the
spaces, and turns all spaces into single ones. Same principles as
above. This one is getting a `#:trim?' keyword that says
Just now, Sam Tobin-Hochstadt wrote:
'trim' is used in lots of languages for this, and I think we should
stick with that.
The issue is a name for the second function that normalizes spaces.
(And if you're saying that `trim' is doing both in lots of languages,
then that's wrong AFAICT.)
On
On Wed, Apr 18, 2012 at 4:12 PM, Eli Barzilay e...@barzilay.org wrote:
* Finally, I'm also adding a related function:
`string-normalize-spaces', which takes a string and a regexp for the
spaces, and turns all spaces into single ones. Same principles as
above. This one is getting a
Just now, namekuseijin wrote:
On Wed, Apr 18, 2012 at 4:12 PM, Eli Barzilay e...@barzilay.org wrote:
* Finally, I'm also adding a related function:
`string-normalize-spaces', which takes a string and a regexp for the
spaces, and turns all spaces into single ones. Same principles as
On 04/18/2012 03:28 PM, Eli Barzilay wrote:
`string-normalize-spaces', which takes a string and a regexp for the
spaces, and turns all spaces into single ones. Same principles as
above. This one is getting a `#:trim?' keyword that says whether
spaces at the edges should be dropped (the
7 matches
Mail list logo