summaryrefslogtreecommitdiff
path: root/lib/Numeric/Interval/Bounded.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Numeric/Interval/Bounded.hs')
-rw-r--r--lib/Numeric/Interval/Bounded.hs4
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
3import Numeric.Interval 3import Numeric.Interval
4 4
5whole' :: Bounded a => Interval a 5whole' :: (Ord a, Bounded a) => Interval a
6whole' = ( minBound ... maxBound ) 6whole' = ( minBound ... maxBound )
7 7
8empty' :: Bounded a => Interval a 8empty' :: (Ord a, Bounded a) => Interval a
9empty' = ( maxBound ... minBound ) 9empty' = ( maxBound ... minBound )