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

Range enum should be provided by compiler #1404

Closed
phated opened this issue Aug 4, 2022 · 0 comments · Fixed by #1616
Closed

Range enum should be provided by compiler #1404

phated opened this issue Aug 4, 2022 · 0 comments · Fixed by #1616
Assignees

Comments

@phated
Copy link
Member

phated commented Aug 4, 2022

We've found the need to use the Range enum in the number library. It seems really heavy-handed to include the Range module for the data type.

We should move the Range enum to Pervasives and re-export it from the Range module (for backwards compatibility).

Eventually, Range could be a data type implemented inside the compiler and maybe even receive syntax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants