[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] fix for srfi-13 string-trim-right start pa
From: |
Seth Alves |
Subject: |
Re: [Chicken-hackers] [PATCH] fix for srfi-13 string-trim-right start parameter |
Date: |
Sat, 11 Jan 2014 13:23:31 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
(string-trim-right "abc " char-whitespace? 1)
pre-patch: "abc", which is wrong.
post-patch: "bc", which is right.
-seth
On 01/11/2014 12:26 PM, Mario Domenech Goulart wrote:
> On Sat, 11 Jan 2014 11:23:52 -0800 Seth Alves <address@hidden> wrote:
>
>> Here's a patch with both msg00007's patch and the modified
>> string-trim-right patch included. The differences in let-optionals*
>> have already been (mostly) smoothed over in CHICKEN's version, I'm
>> reluctant to mess with that.
> Thanks a lot, Seth. Attached is the patch by David Van Horn that you
> ported to CHICKEN. I've added the test cases David provided and
> formatted for git.
>
> With regard to the string-trim-right, I still get
>
> (string-trim-right "abc " char-whitespace? 1) => "bc"
>
> after applying your patch, which we concluded was wrong, no?
>
> Best wishes.
> Mario
Re: [Chicken-hackers] [PATH] fix for srfi-13 string-trim-right start parameter, .alyn.post., 2014/01/11
Re: [Chicken-hackers] [PATH] fix for srfi-13 string-trim-right start parameter, Mario Domenech Goulart, 2014/01/11
Re: [Chicken-hackers] [PATH] fix for srfi-13 string-trim-right start parameter, Mario Domenech Goulart, 2014/01/19
Re: [Chicken-hackers] [PATH] fix for srfi-13 string-trim-right start parameter, John Cowan, 2014/01/22
Re: [Chicken-hackers] [PATH] fix for srfi-13 string-trim-right start parameter, Alex Shinn, 2014/01/22
[Chicken-hackers] Bug in SRFI 13 string-skip-right (was: fix for string-trim-right), John Cowan, 2014/01/22