Email list hosting service & mailing list manager

string-cursor? predicate Takashi Kato (21 Apr 2016 20:32 UTC)
Re: string-cursor? predicate John Cowan (21 Apr 2016 20:37 UTC)
Re: string-cursor? predicate Takashi Kato (21 Apr 2016 20:54 UTC)
Re: string-cursor? predicate Alex Shinn (21 Apr 2016 20:54 UTC)

Re: string-cursor? predicate Takashi Kato 21 Apr 2016 20:54 UTC

> Cursors don't necessarily belong to a disjoint type.  In Chibi they do,
> but they could also be implemented as negative exact integers or by some
> other means.
I see. However, if this is the case, it's rather impossible to implement a
procedure that takes either index or cursor such as string-every defined in
the SRFI. (I know there's string-index->cursor, but there's no way to signal
a type error before calling the SRFI procedures, if I'm not mistaken.)

Cheer,
--
_/_/
Takashi Kato
E-mail: ktakashi19@gmail.com