Safe Haskell | Safe-Inferred |
---|
Lattice of integer intervals
- class Eq a => Lattice a where
- data Extended
- extDiv :: (Ratio Integer -> Integer) -> Extended -> Extended -> Maybe Extended
- data Interval = Interval {}
- isBottom :: Interval -> Bool
- isBounded :: Interval -> Bool
- positives :: Interval
- negatives :: Interval
- nonNegatives :: Interval
- nonPositives :: Interval
- mapBounds :: (Extended -> Extended -> t) -> Interval -> Interval -> [t]
- (//) :: Interval -> Interval -> Interval
Documentation
class Eq a => Lattice a whereSource
Lattice type class
:: a | Top |
:: a | Bottom |
:: a | |
-> a | |
-> Bool | Partial order |
:: a | |
-> a | |
-> a | Least upper bound |
:: a | |
-> a | |
-> a | Greatest lower bound |
Integers extended with infinity
Integer intervals
nonNegatives :: IntervalSource
All positive integers and 0
nonPositives :: IntervalSource
All netaive integers and 0