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

Documentation for int shows succeeding examples as failing #18

Open
okkero opened this issue Oct 28, 2018 · 0 comments
Open

Documentation for int shows succeeding examples as failing #18

okkero opened this issue Oct 28, 2018 · 0 comments

Comments

@okkero
Copy link

okkero commented Oct 28, 2018

The documentation for Parser.int claims that it fails for the strings "0123" and "123a", however when I run those strings through Parser.int, I get Ok 0 and Ok 123 respectively.

Here is an ellie showcasing the behaviour: https://ellie-app.com/3Kq5dZ5ZBzFa1

I am not sure if this is intended behaviour or not, but at any rate there is a mismatch between documentation and behaviour.

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

1 participant