Create an Integral typeclass? #159
bitmappergit
started this conversation in
Ideas and Proposals
Replies: 2 comments
-
I've thought the answer should be "yes", but I always wonder when some type classes are too many. This one is probably entirely reasonable! :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Here is Haskell's Integral type class for reference. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Should things like mod be moved to be in an Integral typeclass and div added?
Honestly, a lot of the Integer specific functions might be able to be moved there.
Beta Was this translation helpful? Give feedback.
All reactions