4 ms·
Bounded is the typeclass you want.
by aristidb 15y ago
Bounded is the typeclass you want.
- jhpriestley 15y agoAh, right. I don't actually do much numerically sensitive programming. Why aren't Haskell's SmallInt functions parameterized over Int size, anyway? Of the points brought up in the blog post, this one seems the easiest to fix.