Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

string-contains has inversed parameters in documentation #3356

Closed
CamiRedigonda opened this issue Aug 19, 2020 · 3 comments
Closed

string-contains has inversed parameters in documentation #3356

CamiRedigonda opened this issue Aug 19, 2020 · 3 comments

Comments

@CamiRedigonda
Copy link

What version of Racket are you using?
6.11

What program did you run?

(string-contains? "Racket" "ack")

What should have happened?
It should have returned #t, as specified in the documentation

It seems that the parameters are inversed in the documentation.

@sorawee
Copy link
Collaborator

sorawee commented Aug 19, 2020

It does return #t to me, at least for v7.8 CS and v7.7 BC (#lang racket).

@sorawee
Copy link
Collaborator

sorawee commented Aug 19, 2020

What language are you using? If you use *SL languages (beginning student language, etc.), then yes, the arguments are flipped. But that's documented.

@sorawee
Copy link
Collaborator

sorawee commented Aug 25, 2020

@CamiRedigonda: is the issue resolved? If so, you can close it.

@bennn bennn closed this as completed Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants