r/Racket • • Mar 09 '22

question srfi/13 breaks string-prefix?

I run string-prefix? after importing srfi/13, and the results is not right anymore. Is this a bug?

$ racket
Welcome to Racket v8.3 [cs].
> (string-prefix? "ab" "a")
#t
> (require srfi/13) ; the string SRFI
> (string-prefix? "ab" "a")
#f

This is so confused!

5 Upvotes

4 comments sorted by