Re: [racket-dev] [plt] Push #28054: master branch updated

2014-01-13 Thread Eli Barzilay
A few minutes ago, Sam Tobin-Hochstadt wrote: > I think it's really `(string-tring s "\n" #:left? #f)`. Yes, but IIUC, the function that Asumu wrote is for tweaking output strings, which makes `string-trim' relevant, and my guess is that the extra trimming that it makes (other whitespaces, and any

Re: [racket-dev] [plt] Push #28054: master branch updated

2014-01-13 Thread Asumu Takikawa
On 2014-01-13 16:40:17 -0500, Eli Barzilay wrote: > Why not (string-trim s #:left? #f) ? Only because I didn't know it existed. Thanks! Cheers, Asumu _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] [plt] Push #28054: master branch updated

2014-01-13 Thread Sam Tobin-Hochstadt
I think it's really `(string-tring s "\n" #:left? #f)`. Sam On Mon, Jan 13, 2014 at 4:40 PM, Eli Barzilay wrote: >> 4d44878 Asumu Takikawa 2014-01-06 17:47 >> : >> | Move `chomp` function into its own util file >> : >> A pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/utils/string.rkt >>

Re: [racket-dev] [plt] Push #28054: master branch updated

2014-01-13 Thread Eli Barzilay
> 4d44878 Asumu Takikawa 2014-01-06 17:47 > : > | Move `chomp` function into its own util file > : > A pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/utils/string.rkt > M .../typed-racket-lib/typed-racket/utils/tc-utils.rkt | 8 +--- Why not (string-trim s #:left? #f) ? --