summaryrefslogtreecommitdiff
path: root/lib/Numeric/Interval/Bounded.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2016-04-25 15:35:56 -0400
committerjoe <joe@jerkface.net>2016-04-25 15:37:45 -0400
commita16dfe2b23349ab8b66e33559fbd372f1c4832db (patch)
treebf8093c66424035a474cf27334aaf6bb57610714 /lib/Numeric/Interval/Bounded.hs
parent35edce91c66282a053e80eb419876d258b373725 (diff)
Integrated CommandLine parsing library.
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 )