Open georgefst opened 3 years ago
Then we could give it a nice Bounded instance reflecting the actual range:
Bounded
instance Bounded Kelvin where minBound = Kelvin 1500 maxBound = Kelvin 9000
We could include Num/Integral instances for convenience, but with a warning.
Num
Integral
Then we could give it a nice
Bounded
instance reflecting the actual range: