diff options
author | joe <joe@jerkface.net> | 2016-04-25 15:35:56 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2016-04-25 15:37:45 -0400 |
commit | a16dfe2b23349ab8b66e33559fbd372f1c4832db (patch) | |
tree | bf8093c66424035a474cf27334aaf6bb57610714 /lib/Numeric/Interval | |
parent | 35edce91c66282a053e80eb419876d258b373725 (diff) |
Integrated CommandLine parsing library.
Diffstat (limited to 'lib/Numeric/Interval')
-rw-r--r-- | lib/Numeric/Interval/Bounded.hs | 9 |
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 @@ | |||
1 | module Numeric.Interval.Bounded where | ||
2 | |||
3 | import Numeric.Interval | ||
4 | |||
5 | whole' :: Bounded a => Interval a | ||
6 | whole' = ( minBound ... maxBound ) | ||
7 | |||
8 | empty' :: Bounded a => Interval a | ||
9 | empty' = ( maxBound ... minBound ) | ||