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.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Numeric/Interval/Bounded.hs b/lib/Numeric/Interval/Bounded.hs
new file mode 100644
index 0000000..2dd4d7b
--- /dev/null
+++ b/lib/Numeric/Interval/Bounded.hs
@@ -0,0 +1,9 @@
1module Numeric.Interval.Bounded where
2
3import Numeric.Interval
4
5whole' :: Bounded a => Interval a
6whole' = ( minBound ... maxBound )
7
8empty' :: Bounded a => Interval a
9empty' = ( maxBound ... minBound )