From a16dfe2b23349ab8b66e33559fbd372f1c4832db Mon Sep 17 00:00:00 2001 From: joe Date: Mon, 25 Apr 2016 15:35:56 -0400 Subject: Integrated CommandLine parsing library. --- lib/Numeric/Interval/Bounded.hs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lib/Numeric/Interval/Bounded.hs (limited to 'lib/Numeric/Interval/Bounded.hs') 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 @@ +module Numeric.Interval.Bounded where + +import Numeric.Interval + +whole' :: Bounded a => Interval a +whole' = ( minBound ... maxBound ) + +empty' :: Bounded a => Interval a +empty' = ( maxBound ... minBound ) -- cgit v1.2.3