[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #870: SRFI-13's string comparison procedures return i
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #870: SRFI-13's string comparison procedures return integers |
Date: |
Mon, 18 Jun 2012 23:58:16 -0000 |
#870: SRFI-13's string comparison procedures return integers
----------------------------------------+-----------------------------------
Reporter: mario | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: core libraries | Version: 4.7.x
Keywords: srfi-13, string comparison |
----------------------------------------+-----------------------------------
CHICKEN procedures from the srfi-13 unit for string comparison return
integers, while SRFI-13 (and the wiki documentation for SRFI-13) state
that they return booleans.
The following SRFI-13 procedures (and their case-insensitive counterparts)
return integers in chicken:
* string=
* string<>
* string<=
* string<
* string>=
* string>
I'm not sure if the behavior of these procedures in CHICKEN deviate from
SRFI-13's by design or if it is really a bug.
If that's the intended behavior, we have to fix the documentation and add
a note about that deviation.
--
Ticket URL: <http://bugs.call-cc.org/ticket/870>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #870: SRFI-13's string comparison procedures return integers,
Chicken Trac <=