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 shows use of isNotInt that disagrees with method signature #40

Open
rosensama opened this issue Apr 26, 2019 · 1 comment

Comments

@rosensama
Copy link

In the package documentation there are many examples for ifNotInt in the following form

    ifNotInt .age "Age must be a whole number."

But the signature expects the 2nd argument to be (String -> error), so all the examples yield a compile error of

This argument is a string of type:

    String

But `ifNotInt` needs the 2nd argument to be:

    String -> error
@neocris
Copy link

neocris commented Sep 16, 2019

same for ifInvalidEmail

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

2 participants