On Wed, Apr 20, 2016 at 3:50 PM, Alex Shinn <xxxxxx@gmail.com> wrote:
Wouldn't it be more consistent to have this return the end cursor instead of #f?


Yeah, but I frequently use string-contains as predicate... I prefer

    (if (string-contains s1 s2) ...)

to

    (if (string-cursor=? (string-contains s1 s2) (string-cursor-end s1)) ...)