chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #1252: utf8-srfi-13 string-index-right treats bounds


From: Chicken Trac
Subject: [Chicken-janitors] #1252: utf8-srfi-13 string-index-right treats bounds differently to srfi-13
Date: Wed, 06 Jan 2016 11:55:54 -0000

#1252: utf8-srfi-13 string-index-right treats bounds differently to srfi-13
---------------------+---------------------
 Reporter:  caolan   |      Owner:
     Type:  defect   |     Status:  new
 Priority:  major    |  Milestone:  someday
Component:  unknown  |    Version:  4.10.x
 Keywords:           |
---------------------+---------------------
 {{{
 (use srfi-13)
 (string-index-right "foo" #\@ 0 0)
 ;; => #f

 (use utf8-srfi-13)
 (string-index-right "foo" #\@ 0 0)

 Error: index out of range
 "foo"
 -1

         Call history:

         <syntax>          (string-index-right "foo" #\@ 0 0)
         <eval>    (string-index-right "foo" #\@ 0 0)    <--
 }}}

--
Ticket URL: <http://bugs.call-cc.org/ticket/1252>
CHICKEN Scheme <http://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

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