4 ms·
In Haskell, you have typeclass values. In other words, generic values. class Bounded a where minValue, maxValue :: a So it is always the same cons
by kazagistar 12y ago
In Haskell, you have typeclass values. In other words, generic values.
class Bounded a where
minValue, maxValue :: a
So it is always the same constant, and it just changes value by what its type context is.