[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11262: help text fro sorted? predicate is wrong/misleading.
From: |
Alexei Matveev |
Subject: |
bug#11262: help text fro sorted? predicate is wrong/misleading. |
Date: |
Sun, 22 Apr 2012 12:53:10 +0200 |
>> How about this:
>>
>> Return @code{#t} iff @var{items} is a list or vector such that, for
>> each element @var{x} and the next element @var{y} of @var{items},
>> @code{(@var{less} @var{x} @var{y})} returns @code{#f}.
>>
>> This avoids use of ‘m’, which would need to be defined, and makes
>> it clear what “comparing element i to the preceeding element”
>> means.
Yes, "m" should not be mentioned. But I think you got it backwards again:
Return @code{#t} iff @var{items} is a list or vector such that, for
each element @var{x} and the next element @var{y} of @var{items},
@code{(@var{less} @var{y} @var{x})} returns @code{#f}.
Note the order of x and y in (less? y x) in the last line.
Alexei
- bug#11262: help text fro sorted? predicate is wrong/misleading., Alexei Matveev, 2012/04/17
- bug#11262: help text fro sorted? predicate is wrong/misleading., Noah Lavine, 2012/04/18
- bug#11262: help text fro sorted? predicate is wrong/misleading., Alexei Matveev, 2012/04/20
- bug#11262: help text fro sorted? predicate is wrong/misleading., Ludovic Courtès, 2012/04/21
- bug#11262: help text fro sorted? predicate is wrong/misleading., Ian Hulin, 2012/04/22
- bug#11262: help text fro sorted? predicate is wrong/misleading., Ludovic Courtès, 2012/04/22
- bug#11262: help text fro sorted? predicate is wrong/misleading.,
Alexei Matveev <=
- bug#11262: help text fro sorted? predicate is wrong/misleading., Ludovic Courtès, 2012/04/22
- bug#11262: help text fro sorted? predicate is wrong/misleading., Marijn, 2012/04/26
- bug#11262: help text fro sorted? predicate is wrong/misleading., Noah Lavine, 2012/04/26