ghc-7.4.2: The GHC API

Safe Haskell | None

Interval

# Documentation

data Interval

mkInterval :: Int -> Width -> Interval

intervalToInfinityFrom :: Int -> Interval

integersInInterval :: Interval -> [Int]

data DisjointIntervalSet

emptyIntervalSet :: DisjointIntervalSet

extendIntervalSet :: DisjointIntervalSet -> Interval -> DisjointIntervalSet

deleteFromIntervalSet :: DisjointIntervalSet -> Interval -> DisjointIntervalSet

subIntervals :: DisjointIntervalSet -> Width -> [Interval]