chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATH] fix for srfi-13 string-trim-right start paramet


From: Seth Alves
Subject: [Chicken-hackers] [PATH] fix for srfi-13 string-trim-right start parameter
Date: Sat, 11 Jan 2014 09:31:04 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

After some discussion in #chicken, we concluded that

  (string-trim-right "abc   " char-whitespace? 1)  --> "abc"

is wrong and that the right answer is "bc".  Gauche and Sagittarius and
Guile return "bc".  Racket returns "abc" but appears, like CHICKEN, to
have faithfully ported the bug from the reference implementation.

    -seth


Attachment: srfi-13-string-trim-right.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]