diff options
Diffstat (limited to 'lib/Numeric/Interval')
-rw-r--r-- | lib/Numeric/Interval/Bounded.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Numeric/Interval/Bounded.hs b/lib/Numeric/Interval/Bounded.hs index 2dd4d7b..a0d5d0d 100644 --- a/lib/Numeric/Interval/Bounded.hs +++ b/lib/Numeric/Interval/Bounded.hs | |||
@@ -2,8 +2,8 @@ module Numeric.Interval.Bounded where | |||
2 | 2 | ||
3 | import Numeric.Interval | 3 | import Numeric.Interval |
4 | 4 | ||
5 | whole' :: Bounded a => Interval a | 5 | whole' :: (Ord a, Bounded a) => Interval a |
6 | whole' = ( minBound ... maxBound ) | 6 | whole' = ( minBound ... maxBound ) |
7 | 7 | ||
8 | empty' :: Bounded a => Interval a | 8 | empty' :: (Ord a, Bounded a) => Interval a |
9 | empty' = ( maxBound ... minBound ) | 9 | empty' = ( maxBound ... minBound ) |