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

Negative number literals should not be typed as Nat #1984

Closed
lukaszcz opened this issue Apr 5, 2023 · 1 comment · Fixed by #1948
Closed

Negative number literals should not be typed as Nat #1984

lukaszcz opened this issue Apr 5, 2023 · 1 comment · Fixed by #1948
Assignees
Milestone

Comments

@lukaszcz
Copy link
Collaborator

lukaszcz commented Apr 5, 2023

In the REPL:

Stdlib.Prelude> :type -1
Nat

You can even do something with negative natural numbers and it works up to some point.

@paulcadman
Copy link
Collaborator

paulcadman commented Apr 5, 2023

This will be fixed as part of

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants