-
Notifications
You must be signed in to change notification settings - Fork 63
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
IntAttr vs IntegerAttr #24
Comments
I would prefer not removing IntAttr, because its purpose is to encapsulate a python |
There is no rush for such a thing. I just wanted to write this down somewhere. |
At first sight I thought it was like Haskell's Int (bounded) and Integer (unbounded) but looks the other way round. |
Can we make the bounded integer inherit from unbounded integer? So we can access the value by ".data.value" instead of ".data.data.value" |
Hey! A bit of explanation on the |
Or maybe |
Walking the issues for some reason; forgot this even was a problem as I got through it myself, but it would make sense to solve that still! |
Currently,
IntAttr
is defined in builtin but there is also aIntegerAttr
. I think we should either removeIntAttr
or rename it to something else.This caused quite some confusion, e.g., https://github.com/compiling-techniques/ChocoPyCompiler/pull/75/files
The text was updated successfully, but these errors were encountered: