Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
A diet set. Currently, the data constructor for this type is exported. Please do not use it. It will be moved to an internal module at some point.
data Inclusivity Source #
Instances
Eq Inclusivity Source # | |
Defined in Data.Continuous.Set.Internal (==) :: Inclusivity -> Inclusivity -> Bool # (/=) :: Inclusivity -> Inclusivity -> Bool # | |
Ord Inclusivity Source # | |
Defined in Data.Continuous.Set.Internal compare :: Inclusivity -> Inclusivity -> Ordering # (<) :: Inclusivity -> Inclusivity -> Bool # (<=) :: Inclusivity -> Inclusivity -> Bool # (>) :: Inclusivity -> Inclusivity -> Bool # (>=) :: Inclusivity -> Inclusivity -> Bool # max :: Inclusivity -> Inclusivity -> Inclusivity # min :: Inclusivity -> Inclusivity -> Inclusivity # | |
Read Inclusivity Source # | |
Defined in Data.Continuous.Set.Internal readsPrec :: Int -> ReadS Inclusivity # readList :: ReadS [Inclusivity] # readPrec :: ReadPrec Inclusivity # readListPrec :: ReadPrec [Inclusivity] # | |
Show Inclusivity Source # | |
Defined in Data.Continuous.Set.Internal showsPrec :: Int -> Inclusivity -> ShowS # show :: Inclusivity -> String # showList :: [Inclusivity] -> ShowS # |
:: Ord a | |
=> Maybe (Inclusivity, a) | lower bound |
-> Maybe (Inclusivity, a) | upper bound |
-> Set a |
O(1) Create a continuous interval set with a single interval.