Safe Haskell | Safe |
---|---|

Language | Haskell98 |

## Synopsis

- (+=+) :: a -> a -> Ranges a
- (+=*) :: a -> a -> Ranges a
- (*=+) :: a -> a -> Ranges a
- (*=*) :: a -> a -> Ranges a
- lbi :: a -> Ranges a
- lbe :: a -> Ranges a
- ubi :: a -> Ranges a
- ube :: a -> Ranges a
- inf :: Ranges a
- inRanges :: Ord a => Ranges a -> a -> Bool
- aboveRanges :: Ord a => Ranges a -> a -> Bool
- belowRanges :: Ord a => Ranges a -> a -> Bool
- union :: Ord a => Ranges a -> Ranges a -> Ranges a
- intersection :: Ord a => Ranges a -> Ranges a -> Ranges a
- difference :: Ord a => Ranges a -> Ranges a -> Ranges a
- invert :: Ord a => Ranges a -> Ranges a
- fromRanges :: (Ord a, Enum a) => Ranges a -> [a]
- joinRanges :: (Ord a, Enum a) => Ranges a -> Ranges a
- newtype Ranges a = Ranges {}

# Range creation

# Comparison functions

aboveRanges :: Ord a => Ranges a -> a -> Bool Source #

Checks if the value provided is above all of the ranges provided.

belowRanges :: Ord a => Ranges a -> a -> Bool Source #

Checks if the value provided is below all of the ranges provided.