Re: string-cursor? predicate
Per Bothner 22 Apr 2016 21:01 UTC
On 04/22/2016 01:48 PM, John Cowan wrote:
> Takashi Kato scripsit:
>
>> I meant not for specific implementation but users. If users want to make
>> something similar procedures on top the SRFI, then they probably want to
>> know if the given object is cursor or index.
>
> Good point. I will add string-cursor? with specific language saying
> that it may return either #t or #f on objects that are neither cursors
> nor indexes.
On implementations where cursor == index, should string-cursor? return #t or #f
given an integer? I assume #t.
--
--Per Bothner
xxxxxx@bothner.com http://per.bothner.com/