@@ -242,6 +242,34 @@ instance Ord Bits64 where
242 else if l > r then GT
242 else if l > r then GT
245+-- ------------------------------------------------------------- [ Bounded ]
247+class MinBound b where
248+ -- | The lower bound for the type
251+class MaxBound b where
252+ -- | The upper bound for the type
255+instance MinBound Bits16 where
258+instance MaxBound Bits16 where
261+instance MinBound Bits32 where
264+instance MaxBound Bits32 where
265+ maxBound = 0xffffffff
267+instance MinBound Bits64 where
270+instance MaxBound Bits64 where
271+ maxBound = 0xffffffffffffffff
246-- ------------------------------------------------------------- [ Fractionals ]
274-- ------------------------------------------------------------- [ Fractionals ]