[plt-scheme] srfi 13

From: Sam TH (samth at ccs.neu.edu)
Date: Wed Apr 1 07:39:25 EDT 2009

I believe that behavior is correct.  I think the difference is:

(require srfi/13)

(string-index "bob" #\b) ; => 0
(string-index-right "bob" #\b) ; => 2

sam th

On Wed, Apr 1, 2009 at 6:17 AM, nik gaffney <nik at fo.am> wrote:
>
> I've just noticed a small bug in srfi 13, as the following 2 functions
> appear to return the same result (in PLT 4.1.5)
>
> (require srfi/13)
>
> (string-index "abcde" #\d)
> (string-index-right "abcde" #\d)
>
>
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>



-- 
sam th
samth at ccs.neu.edu


Posted on the users mailing list.