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

Missing Integer alias trait #40

Open
eisterman opened this issue Mar 23, 2018 · 3 comments
Open

Missing Integer alias trait #40

eisterman opened this issue Mar 23, 2018 · 3 comments

Comments

@eisterman
Copy link

There is a Real trait but not a ready-to-use Integer trait.
Now I'm using the RingCommutative trait to define the classical integer number set, but there is no motivation for not introduce an alias trait Integer.

Am I missing something?

@eisterman
Copy link
Author

Is a good idea define a trait alias or is needed a reimplementation like Real?

@WaDelma
Copy link
Contributor

WaDelma commented Apr 23, 2018

Well there could be trait for integers, but I have just been using traits from num-traits for those.
Not sure what would be the best for it.

@eisterman
Copy link
Author

num-traits isn't giving the same level of abstraction of a RingCommutative that now I use as generical integer trait

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